Version: 5.5
Experimental: this API is experimental and might be changed or removed in the future.

AnimationMixerPlayable.SetInputs

Switch to Manual
public bool SetInputs (AnimationClip[] clips);

Parameters

clips AnimationClips to be used as inputs.

Returns

bool Returns false if the creation of the AnimationClipPlayables failed, or if the connection failed.

Description

Automatically creates an AnimationClipPlayable for each supplied AnimationClip, then sets them as inputs to the mixer.

Note: As with AnimationPlayable.SetInputs, this method will automatically disconnect any input playable on the mixer.


public bool SetInputs (IEnumerable<Playable> sources);

Parameters

sources Playable to add as input.

Returns

bool Returns false if any of the connectiona failed.

Description

Add an enumerable of Playables as input.