Playable that controls the active state of a GameObject.
gameObject | GameObject to control it active state. |
postPlayback | The active state to set on the GameObject after the graph has been stopped |
OnBehaviourDelay | This function is called when the Playable play state is changed to PlayState.Delayed. |
OnBehaviourPause | This method is invoked when one of the following situations occurs: The effective play state during traversal is changed to PlayState.Paused. This state is indicated by FrameData.effectivePlayState. The PlayableGraph is stopped while the playable play state is Playing. This state is indicated by PlayableGraph.IsPlaying returning true. |
OnBehaviourPlay | This function is called when the Playable play state is changed to PlayState.Playing. |
OnGraphStart | This function is called when the PlayableGraph that owns this PlayableBehaviour starts. |
OnGraphStop | This function is called when the PlayableGraph that owns this PlayableBehaviour stops. |
OnPlayableCreate | This function is called when the Playable that owns the PlayableBehaviour is created. |
OnPlayableDestroy | This function is called when the Playable that owns the PlayableBehaviour is destroyed. |
PrepareData | This function is called during the PrepareData phase of the PlayableGraph. |
PrepareFrame | This function is called during the PrepareFrame phase of the PlayableGraph. |
ProcessFrame | This function is called during the ProcessFrame phase of the PlayableGraph. |