SelfTransition
The base class for all user-accessible self transitions in a StateMachine graph.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
- Implements: ISelfTransition, ITransition
public abstract class SelfTransition : ISelfTransition, ITransition
Remarks
Inherit from this class to define custom self transition types that appear in a state machine graph. A self transition is anchored on a single State rather than connecting two states.
To create a custom self transition, derive from SelfTransition. Apply a TransitionAttribute to the class to further customize the self transition. Custom transitions appear in the menu of a state and can be created on it.
Create TransitionSee also:
-
StateMachine for the graph type that contains states and transitions
-
State for the base class used to define custom states
Properties
Property | Description |
|---|---|
| Tooltip | The text displayed when hovering over the transition. |