Version: 2017.1

PrefabControlPlayable

class in UnityEngine.Timeline

/

Inherits from:Playables.PlayableBehaviour

Switch to Manual

Description

Playable that controls and instantiates a Prefab.

Variables

prefabInstanceThe instance of the prefab that has been generated for this playable.

Inherited members

Public Functions

OnBehaviourPauseThis function is called when the Playable play state is changed to PlayState.Paused.
OnBehaviourPlayThis function is called when the Playable play state is changed to PlayState.Playing.
OnGraphStartThis function is called when the PlayableGraph that owns this PlayableBehaviour starts.
OnGraphStopThis function is called when the PlayableGraph that owns this PlayableBehaviour stops.
OnPlayableCreateThis function is called when the Playable that owns the PlayableBehaviour is created.
OnPlayableDestroyThis function is called when the Playable that owns the PlayableBehaviour is destroyed.
PrepareFrameThis function is called during the PrepareFrame phase of the PlayableGraph.
ProcessFrameThis function is called during the ProcessFrame phase of the PlayableGraph.