RemoveStateMachineTransition(AnimatorStateMachine, AnimatorTransition)
Utility function to remove an outgoing transition from source state machine.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor.CoreModule
public bool RemoveStateMachineTransition(AnimatorStateMachine sourceStateMachine, AnimatorTransition transition)
Parameters
The source state machine.
The 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.