Class PrefabControlPlayable
Playable that controls and instantiates a Prefab.
Inherited Members
Namespace: UnityEngine .Timeline
Assembly: solution.dll
Syntax
public class PrefabControlPlayable : PlayableBehaviour, IPlayableBehaviour, ICloneable
Properties
Name | Description |
---|---|
prefab |
The instance of the prefab created by this behaviour |
Methods
Name | Description |
---|---|
Create(Playable |
Creates a Playable with a PrefabControlPlayable behaviour attached |
Initialize(Game |
Initializes the behaviour with a prefab and parent transform |
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 Playable that owns the PlayableBehaviour is destroyed. |