文档

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.
阅读时间1 分钟最后更新于 1 个月前

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.