Version: 2019.2

AnimatorStateMachine.RemoveAnyStateTransition

Switch to Manual
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.