文档

Unity Engine

Unity Engine

RemoveEntryTransition(AnimatorTransition)

Utility function to remove an entry transition from the state machine.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool RemoveEntryTransition(AnimatorTransition transition)

Parameters

The transition to remove.

Returns

Type

Description

bool

Remarks

If the transition is a sub asset of the state machine, it will be deleted. This function pushes an Undo operation.