class in UnityEngine.Experimental.Director
/
Inherits from:Experimental.Director.ScriptPlayable
To implement custom handling of AnimationPlayable, inherit from this class.
duration | Duration in seconds. |
inputCount | The count of inputs on the Playable. This count includes slots that aren't connected to anything. |
outputCount | The count of ouputs on the Playable. Currently only 1 output is supported. |
state | Current PlayState of this playable. This indicates whether the Playable is currently playing or paused. |
time | Current time in seconds. |
AddInput | Adds an Playable as an input. |
CastTo | You can use the CastTo operator to perform certain types of conversions between compatible reference types or nullable types. |
Destroy | Call this method to release the resources associated to this Playable. |
GetInput | Returns the Playable connected at the specified index. |
GetInputWeight | Get the weight of the Playable at a specified index. |
GetOutput | Returns the Playable connected at the specified output index. |
OnSetPlayState | Override this method to perform custom operations when the PlayState changes. |
OnSetTime | Override this method to perform custom operations when the local time changes. |
PrepareFrame | Override this method to manage input connections and change weights on inputs. |
RemoveAllInputs | Disconnects all input playables. |
RemoveInput | Removes a playable from the list of inputs. |
SetInput | Sets an Playable as an input. |
SetInputs | Replaces existing inputs with the supplied collection of Playable. |
SetInputWeight | Set the weight of an input. |