Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
ClosedestinationState | The destination AnimatorState state. |
destinationStateMachine | The destination AnimatorStateMachine state machine. |
Utility function to add an incoming transition to the exit of it's parent state machine.
The transition asset that is created is added as a sub asset of the state.
An example showing usage of this API can be found at the AnimatorController page.