Playable Director component
The Playable Director component stores the link between a Timeline instance and a Timeline asset. The Playable Director component controls when the Timeline instance plays, how the Timeline instance updates its clock, and what happens when the Timeline instance finishes playing.
Playable Director component added to the GameObject named Ground
. The GameObject is associated with the GroundCTL
Timeline asset.
The Playable Director component also displays the list of tracks from the associated Timeline asset (Playable property) that animate GameObjects in the Scene. The link between Timeline asset tracks and GameObjects in the Scene is referred to as binding or Track binding. For more on binding and the relationship between Timeline assets and Timeline instances, consult the Timeline assets and instances topic.
Property | Description | |
---|---|---|
Playable | Associates a Timeline asset with a GameObject in the Scene. When you make this association, you create a Timeline instance for the selected Timeline asset. | |
Update Method | Sets the clock source that the Timeline instance uses to update its timing. | |
DSP | Select for sample accurate audio scheduling. When selected, the Timeline instance uses the same clock source that processes audio. DSP stands for digital signal processing. | |
Game Time | Select to use the same clock source as the game clock. This clock source is affected by time scaling. | |
Unscaled Game Time | Select to use the same clock source as the game clock, but without being affected by time scaling. | |
Manual | Select to not use a clock source and to manually set the clock time through scripting. | |
Play on Awake | Whether the Timeline instance is played when gameplay is initiated. By default, a Timeline instance is set to begin as soon as the Scene begins playback. To disable the default behavior, disable Play on Awake. | |
Wrap Mode | The behavior when the Timeline instance ends playback. | |
Hold | Plays the Timeline instance once and holds on the last frame until playback is interrupted. | |
Loop | Plays the Timeline instance repeatedly until playback is interrupted. | |
None | Plays the Timeline instance once. | |
Initial Time | The time (in seconds) at which the Timeline instance begins playing. The Initial Time adds a delay in seconds before the Timeline instance actually begins. For example, when Play On Awake is enabled and Initial Time is set to five seconds, if you click Play in the Unity Toolbar, Play mode starts and the Timeline instance begins five seconds later. |
|
Current Time | Displays the progression of time according to the Timeline instance in the Timeline window. Use the Current Time field when the Timeline window is hidden. The Current Time field appears in the Playable Director component when in Timeline Playback mode or when Unity is in Game Mode. The Current Time field matches the Playhead Location field. |
|
Bindings | Displays the link between GameObjects in the Scene with tracks from the associated Timeline asset (Playable). The Bindings area is split into two columns: The first column lists the tracks from the Timeline asset. Each track is identified by an icon and its track type. Select a track to reveal its Timeline asset in the Project window. The second column lists the GameObject linked (or bound) to each track. Select a GameObject to reveal its location in the Hierarchy view. The Bindings area does not list Track groups, Track sub-groups, or tracks that are not linked to GameObjects. |