PlayableAsset
A base class for assets that can be used to instantiate a Playable at runtime.
Read time 4 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
- Inherits from: ScriptableObject
- Implements: IPlayableAsset
public abstract class PlayableAsset : ScriptableObject, IPlayableAsset
Properties
Property | Description |
|---|---|
| duration | The playback duration in seconds of the instantiated Playable. |
| outputs | A description of the outputs of the instantiated Playable. |
Methods
Method | Description |
|---|---|
| CreatePlayable | Implement this method to have your asset inject playables into the given graph. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |