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