Class DirectorControlPlayable
Playable Behaviour used to control a PlayableDirector.
Inherited Members
Namespace: UnityEngine.Timeline
Assembly: solution.dll
Syntax
public class DirectorControlPlayable : PlayableBehaviour, IPlayableBehaviour, ICloneable
Remarks
This playable is used to control other PlayableDirector components from a Timeline sequence.
Fields
| Name | Description |
|---|---|
| director | The PlayableDirector being controlled by this PlayableBehaviour |
Methods
| Name | Description |
|---|---|
| Create(PlayableGraph, PlayableDirector) | Creates a Playable with a DirectorControlPlayable attached |
| OnBehaviourPause(Playable, FrameData) | This function is called when the Playable play state is changed to PlayState.Paused. |
| OnBehaviourPlay(Playable, FrameData) | This function is called when the Playable play state is changed to Playables.PlayState.Playing. |
| OnPlayableDestroy(Playable) | This function is called when the Playable that owns the PlayableBehaviour is destroyed. |
| PrepareFrame(Playable, FrameData) | This function is called during the PrepareFrame phase of the PlayableGraph. |
| ProcessFrame(Playable, FrameData, object) | This function is called during the ProcessFrame phase of the PlayableGraph. |