public static Animations.AnimatorControllerPlayable PlayAnimatorController (Animator animator, RuntimeAnimatorController controller, out Playables.PlayableGraph graph);

Parámetros

animatorTarget Animator.
controllerThe RuntimeAnimatorController to create an AnimatorControllerPlayable for.
graphThe created PlayableGraph.

Valor de retorno

AnimatorControllerPlayable A handle to the newly-created AnimatorControllerPlayable.

Descripción

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