RemoveState(AnimatorState)
Utility function to remove a state from the state machine.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor.CoreModule
public void RemoveState(AnimatorState state)
Parameters
The state to remove.
Remarks
If the state is a sub asset of the state machine, it will be deleted. This function pushes an Undo operation.