Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine.Experimental.Director
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
ClosePlayable used to mix AnimationPlayables.
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 method 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. |
IsValid | Returns true if the Playable is valid. A playable can be invalid if it was disposed. This is different from a Null playable. |
RemoveAllInputs | Disconnects all input playables. |
RemoveInput | Removes a playable from the list of inputs. |
SetInput | Sets an Playable as an input. |
SetInputs | Automatically creates an AnimationClipPlayable for each supplied AnimationClip, then sets them as inputs to the mixer. |
SetInputWeight | Sets the weight of an input. |
Create | Creates an AnimationMixerPlayable. |