Version: 5.6

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 的索引。

描述

在新 AnimatorState 中创建一个 BlendTree。

BlendTree 将成为 AnimatorController 的子资源。 此函数推动一个 Undo 操作。

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961