AnimatorStateMachine.RemoveAnyStateTransition

public bool RemoveAnyStateTransition(Animations.AnimatorStateTransition transition);

Parameters

transitionThe AnyStat transition to remove.

Description 描述

Utility function to remove an AnyState transition from the state machine.

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