Version: 2017.2
public static Animations.AnimationClipPlayable PlayClip (Animator animator, AnimationClip clip, out Playables.PlayableGraph graph);

Parámetros

animator Target Animator.
clip The AnimationClip to create an AnimationClipPlayable for.
graph The created PlayableGraph.

Valor de retorno

AnimationClipPlayable A handle to the newly-created AnimationClipPlayable.

Descripción

Creates a PlayableGraph to be played on the given Animator. An AnimationClipPlayable is also created for the given AnimationClip.