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

パラメーター

nameブレンドツリーの名前
treeブレンドツリー(BlendTree)が作成されます。
layerIndexインデックス(index)は、ブレンドツリー(BlendTree)のステート上にブレンドツリーが作成されます。

説明

新しい AnimatorState にブレンドツリー(BlendTree)を作成します。

The BlendTree will be a sub asset of the AnimatorController. This function pushes an Undo operation.