Playables.AnimationPlayableUtilities.PlayAnimatorController

Unity · Версия 2020.3 LTS · Scripting · AnimationPlayableUtilities

Playables.AnimationPlayableUtilities.PlayAnimatorController

Объявление

public static Animations.AnimatorControllerPlayable PlayAnimatorController(Animator animator, RuntimeAnimatorController controller, out Playables.PlayableGraph graph);

Параметры

animator Целевой аниматор.
controller RuntimeAnimatorController для создания AnimatorControllerPlayable.
graph Созданный PlayableGraph.

Возвращает

AnimatorControllerPlayable Дескриптор недавно созданного объекта AnimatorControllerPlayable.

Описание

Создает PlayableGraph для воспроизведения на данном аниматоре. Для заданного RuntimeAnimatorController также создается AnimatorControllerPlayable.

Обновлено 17 ноября 2026 г.