DirectorUpdateMode
Defines what time source is used to update a Director graph.
Unity DirectorUpdateMode
Elements
Element | Description |
---|---|
DirectorUpdateMode.DSPClock | Update is based on DSP (Digital Sound Processing) clock. Use this for graphs that need to be synchronized with Audio. |
DirectorUpdateMode.GameTime | Update is based on Time.time. Use this for graphs that need to be synchronized on gameplay, and that need to be paused when the game is paused. |
DirectorUpdateMode.Manual | Update mode is manual. You need to manually call PlayableGraph.Evaluate with your own deltaTime. This can be useful for graphs that are completely disconnected from the rest of the game. For example, localized bullet time. |
DirectorUpdateMode.UnscaledGameTime | Update is based on Time.unscaledTime. Use this for graphs that need to be updated even when gameplay is paused. Example: Menus transitions need to be updated even when the game is paused. |