SPlayableDirector
Index
Functions Index
Properties Index
int State get
double Time get set
double InitialTime get set
double Duration get
SGameObject GameObject get
Functions
Play
void Play ()
Instantiates a Playable using the provided PlayableAsset and starts playback.
Space.Host.ExecutingObject.Director.Play()Stop
void Stop ()
Stop playback of the current Playable and destroys the corresponding graph.
Space.Host.ExecutingObject.Director.Stop()Pause
void Pause ()
Pause playback of the currently running playable.
Space.Host.ExecutingObject.Director.Pause()Resume
void Resume ()
Resume playing a paused playable.
Space.Host.ExecutingObject.Director.Resume()Properties
State
int State get
The current playing state of the component.
intState = Space.Host.ExecutingObject.Director.StateTime
double Time get set
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.
Space.Host.ExecutingObject.Director.Time = 10InitialTime
double InitialTime get set
The time at which the Playable should start when first played.
Space.Host.ExecutingObject.Director.Time = 2Duration
double Duration get
The duration of the Playable in seconds.
duration = Space.Host.ExecutingObject.Director.DurationGameObject
SGameObject GameObject get
Property Description
theGameObject = Space.Host.ExecutingObject.Director.GameObject