Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AnimatorStateMachine.RemoveAnyStateTransition

Declaration

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.