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
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.AnimationModule
PlayAnimatorController(Animator, RuntimeAnimatorController, PlayableGraph)
public static AnimatorControllerPlayable PlayAnimatorController(Animator animator, RuntimeAnimatorController controller, out PlayableGraph graph)
Parameters
Target Animator.
The RuntimeAnimatorController to create an AnimatorControllerPlayable for.
The created PlayableGraph.
Returns
Type | Description |
|---|---|
| AnimatorControllerPlayable | A handle to the newly-created AnimatorControllerPlayable. |