Class ActivationControlPlayable
Playable that controls the active state of a GameObject.
상속된 멤버
네임스페이스: UnityEngine.Timeline
어셈블리: solution.dll
구문
public class ActivationControlPlayable : PlayableBehaviour, IPlayableBehaviour, ICloneable
필드
이름 | 설명 |
---|---|
gameObject | The GameObject to control. |
postPlayback | The state of a GameObject's activeness when a PlayableGraph stops. |
메서드
이름 | 설명 |
---|---|
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. |