ドキュメント

Unity Engine

Unity Engine

CreateBlendTreeChild

Utility function to add a child blend tree to a blend tree.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

CreateBlendTreeChild(float)

Utility function to add a child blend tree to a blend tree.
public BlendTree CreateBlendTreeChild(float threshold)

Parameters

threshold

The threshold of the child. When using 1D blend trees.

Returns

Type

Description

BlendTree

Remarks

The blend tree asset that is created is added as a sub asset of the blend tree. This function pushes an Undo operation.

CreateBlendTreeChild(Vector2)

Utility function to add a child blend tree to a blend tree.
public BlendTree CreateBlendTreeChild(Vector2 position)

Parameters

position

The position of the child. When using 2D blend trees.

Returns

Type

Description

BlendTree

Remarks

The blend tree asset that is created is added as a sub asset of the blend tree. This function pushes an Undo operation.