Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DirectorUpdateMode

Defines what time source is used to update a Director graph.
Read time 1 minuteLast updated 12 days ago

Definition

public enum DirectorUpdateMode

Fields

Value

Description

DSPClockUpdate is based on DSP (Digital Sound Processing) clock. Use this for graphs that need to be synchronized with Audio.
GameTimeUpdate 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.
ManualUpdate 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.
UnscaledGameTimeUpdate 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.