Animations.AnimatorController.CreateBlendTreeInController

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

Animations.AnimatorController.CreateBlendTreeInController

Объявление

public Animations.AnimatorState CreateBlendTreeInController(string name, out Animations.BlendTree tree);

public Animations.AnimatorState CreateBlendTreeInController(string name, out Animations.BlendTree tree, int layerIndex);

Параметры

name Имя BlendTree.
tree Созданный BlendTree.
layerIndex Индекс, в котором будет создан BlendTree.

Описание

Создает BlendTree в новом AnimatorState.

BlendTree будет вспомогательным активом AnimatorController. Эта функция запускает операцию отмены.

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