Объявление
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. Эта функция запускает операцию отмены.