文档

Unity Engine

Unity Engine

RemoveTransition(AnimatorStateTransition)

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

Definition

public void RemoveTransition(AnimatorStateTransition transition)

Parameters

Transition to remove.

Remarks

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