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 |
---|---|
game |
The GameObject to control. |
post |
The state of a GameObject's activeness when a PlayableGraph stops. |
Methods
Name | Description |
---|---|
Create(Playable |
Creates a ScriptPlayable with an ActivationControlPlayable behaviour attached |
On |
This function is called when the Playable play state is changed to PlayState.Paused. |
On |
This function is called when the Playable play state is changed to Playables.PlayState.Playing. |
On |
This function is called when the PlayableGraph that owns this PlayableBehaviour starts. |
On |
This function is called when the Playable that owns the PlayableBehaviour is destroyed. |
Process |
This function is called during the ProcessFrame phase of the PlayableGraph. |