ISelfTransition
interface in
Unity.GraphToolkit.Editor
Implements interfaces:ITransition
Suggest a change
Success!
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.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Description
Interface for a self transition in a StateMachine.
A self transition is a ITransition that is anchored on a single IState rather
than connecting two states, so its ITransition.FromState and ITransition.ToState
are the same state. Use this interface to distinguish a self transition from a state-to-state transition,
for example if (transition is ISelfTransition selfTransition).
This interface is implemented by Unity and is not intended to be implemented by user code.