BlendTree.CreateBlendTreeChild

Switch to Manual
public Animations.BlendTree CreateBlendTreeChild (float threshold);
public Animations.BlendTree CreateBlendTreeChild (Vector2 position);

Parameters

position子级的位置。使用 2D 混合树时。
threshold子级的阈值。使用 1D 混合树时。

Description

Utility 函数,用于向混合树添加一个子混合树。

所创建的混合树资源添加为混合树的子资源。 此函数推动一个 Undo 操作。