AnimationPlayableUtilities.PlayAnimatorController
public static Animations.AnimatorControllerPlayable PlayAnimatorController(Animator animator,
RuntimeAnimatorController controller,
out Playables.PlayableGraph graph);
Parameters
| animator | Target Animator. | |
| controller | The RuntimeAnimatorController to create an AnimatorControllerPlayable for. | |
| graph | The created PlayableGraph. |
Returns
AnimatorControllerPlayable A handle to the newly-created AnimatorControllerPlayable.
Description 描述
Creates a PlayableGraph to be played on the given Animator. An AnimatorControllerPlayable is also created for the given RuntimeAnimatorController.