Class ActivationControlPlayable
Playable that controls the active state of a GameObject.
Inherited Members
Namespace: UnityEngine.Timeline
Assembly: solution.dll
Syntax
public class ActivationControlPlayable : PlayableBehaviour, IPlayableBehaviour, ICloneable
Fields
| Name | Description |
|---|---|
| gameObject | |
| postPlayback |
Methods
| Name | Description |
|---|---|
| Create(PlayableGraph, GameObject, PostPlaybackState) | Creates a ScriptPlayable with an ActivationControlPlayable behaviour 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. |
| OnGraphStart(Playable) | This function is called when the PlayableGraph that owns this PlayableBehaviour starts. |
| OnPlayableDestroy(Playable) | This function is called when the Playable that owns the PlayableBehaviour is destroyed. |
| ProcessFrame(Playable, FrameData, object) | This function is called during the ProcessFrame phase of the PlayableGraph. |