RemoveAnyStateTransition(AnimatorStateTransition)
Utility function to remove an AnyState transition from the state machine.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor
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.