AddStateMachineExitTransition(AnimatorStateMachine)
Utility function to add an outgoing transition from the source state machine to the exit of it's parent state machine.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor
public AnimatorTransition AddStateMachineExitTransition(AnimatorStateMachine sourceStateMachine)
Parameters
The source state machine.
Returns
Type | Description |
|---|---|
| AnimatorTransition |
Remarks
The transition asset that is created is added as a sub asset of the state. This function pushes an Undo operation.