Class PrefabControlPlayable
Playable that controls and instantiates a Prefab.
상속된 멤버
네임스페이스: UnityEngine.Timeline
어셈블리: solution.dll
구문
public class PrefabControlPlayable : PlayableBehaviour, IPlayableBehaviour, ICloneable
프로퍼티
| 이름 | 설명 |
|---|---|
| prefabInstance | The instance of the prefab created by this behaviour |
메서드
| 이름 | 설명 |
|---|---|
| Create(PlayableGraph, GameObject, Transform) | Creates a Playable with a PrefabControlPlayable behaviour attached |
| Initialize(GameObject, Transform) | Initializes the behaviour with a prefab and parent transform |
| 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. |
| OnPlayableDestroy(Playable) | This function is called when the Playable that owns the PlayableBehaviour is destroyed. |