RemoveStateMachine(AnimatorStateMachine)
Utility function to remove a state machine from its parent state machine.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor.CoreModule
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.