Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PlayAnimatorController(Animator, RuntimeAnimatorController, out PlayableGraph)

Creates a PlayableGraph to be played on the given Animator. An AnimatorControllerPlayable is also created for the given RuntimeAnimatorController.
Read time 1 minuteLast updated 11 days ago

Definition

PlayAnimatorController(Animator, RuntimeAnimatorController, PlayableGraph)

public static AnimatorControllerPlayable PlayAnimatorController(Animator animator, RuntimeAnimatorController controller, out PlayableGraph graph)

Parameters

animator

Target Animator.

The RuntimeAnimatorController to create an AnimatorControllerPlayable for.

The created PlayableGraph.

Returns

Type

Description

AnimatorControllerPlayableA handle to the newly-created AnimatorControllerPlayable.