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

AnimationMixerPlayable.SetInputs

Cambiar al Manual
public bool SetInputs (AnimationClip[] clips);

Parámetros

clips AnimationClips to be used as inputs.

Valor de retorno

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

Descripción

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);

Parámetros

sources Playable to add as input.

Valor de retorno

bool Returns false if any of the connectiona failed.

Descripción

Add an enumerable of Playables as input.