기술 자료

Unity Engine

Unity Engine

CreateBlendTreeChild

Utility function to add a child blend tree to a blend tree.
읽는 시간 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.