PlayAnimatorController(Animator, RuntimeAnimatorController, out PlayableGraph)
Creates a PlayableGraph to be played on the given Animator. An AnimatorControllerPlayable is also created for the given RuntimeAnimatorController.
阅读时间1 分钟最后更新于 1 个月前
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. |