Class BasicPlayableBehaviour
This class is deprecated. It is recommended to use Playable Asset and Playable Behaviour derived classes instead.
Inherited Members
Namespace: UnityEngine.Timeline
Assembly: solution.dll
Syntax
[Serializable]
[Obsolete("For best performance use PlayableAsset and PlayableBehaviour.")]
public class BasicPlayableBehaviour : ScriptableObject, IPlayableAsset, IPlayableBehaviour
Constructors
| Name | Description |
|---|---|
| BasicPlayableBehaviour() |
Properties
| Name | Description |
|---|---|
| duration | The playback duration in seconds of the instantiated Playable. |
| outputs | A description of the outputs of the instantiated Playable. |
Methods
| Name | Description |
|---|---|
| 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. |