Version: 2017.1

AnimatorStateMachine.RemoveAnyStateTransition

Switch to Manual
public bool RemoveAnyStateTransition (Animations.AnimatorStateTransition transition);

Parameters

transition The 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.