Instantiates a Playable using the provided PlayableAsset and starts playback.
--get playable director component from game object.
director.Play()
Stop playback of the current Playable and destroys the corresponding graph.
--get playable director component from game object.
director.Stop()
Pause playback of the currently running playable.
--get playable director component from game object.
director.Pause()
Resume playing a paused playable.
--get playable director component from game object.
director.Resume()
The current playing state of the component.
--get playable director component from game object.
director.Stop()
--stop playable director.
Space.Log(director.State)
The component's current time. This value is incremented according to the PlayableDirector.timeUpdateMode when it is playing. You can also change this value manually.
--get playable director component from game object.
director.Time = 1
The time at which the Playable should start when first played.
--get playable director component from game object.
director.InitialTime = 3
director.Stop()
director.Play()
The duration of the Playable in seconds.
--get playable director component from game object.
director.Duration = 3
|