Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RemoveAnyStateTransition(AnimatorStateTransition)

Utility function to remove an AnyState transition from the state machine.
Read time 1 minuteLast updated 11 days ago

Definition

public bool RemoveAnyStateTransition(AnimatorStateTransition transition)

Parameters

The AnyStat transition to remove.

Returns

Type

Description

bool

Remarks

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