AddStateMachineExitTransition(AnimatorStateMachine)
Utility function to add an outgoing transition from the source state machine to the exit of it's parent state machine.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor.CoreModule
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.