Class BasicPlayableBehaviour
This class is deprecated. It is recommended to use Playable Asset and Playable Behaviour derived classes instead.
상속된 멤버
네임스페이스: UnityEngine.Timeline
어셈블리: solution.dll
구문
[Serializable]
[Obsolete("For best performance use PlayableAsset and PlayableBehaviour.")]
public class BasicPlayableBehaviour : ScriptableObject, IPlayableAsset, IPlayableBehaviour
프로퍼티
| 이름 | 설명 |
|---|---|
| duration | The playback duration in seconds of the instantiated Playable. |
| outputs | A description of the outputs of the instantiated Playable. |
메서드
| 이름 | 설명 |
|---|---|
| CreatePlayable(PlayableGraph, GameObject) | Implement this method to have your asset inject playables into the given graph. |
| OnBehaviourPause(Playable, FrameData) | This function is called when the Playable play state is changed to Playables.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. |
| OnGraphStop(Playable) | This function is called when the PlayableGraph that owns this PlayableBehaviour stops. |
| OnPlayableCreate(Playable) | This function is called when the Playable that owns the PlayableBehaviour is created. |
| OnPlayableDestroy(Playable) | This function is called when the Playable that owns the PlayableBehaviour is destroyed. |
| PrepareFrame(Playable, FrameData) | This function is called during the PrepareFrame phase of the PlayableGraph. |
| ProcessFrame(Playable, FrameData, object) | This function is called during the ProcessFrame phase of the PlayableGraph. |