Interface for a state in a IState.StateMachine.
A state is the state machine equivalent of an INode. Unlike a node, a state does not expose
configurable input and output ports: its incoming and outgoing connections are transitions managed by the
state machine itself.
See also:
Unity implements this interface. Do not implement it in your own types.
| Property | Description |
|---|---|
| DefaultColor | The highlight color of the state. The highlight is located on the upper border of the state. |
| ID | The globally unique identifier for this state. |
| IsConnected | Whether the state is connected to at least one transition. |
| Position | The position of the state in the state machine. |
| StateMachine | The IState.StateMachine that contains this state. |
| Subtitle | The secondary text displayed in the state's header. |
| Title | The main text displayed in the state's header. |
| Tooltip | The text displayed when hovering over the state's header. |
| Method | Description |
|---|---|
| GetIncomingTransitions | Retrieves the transitions that go to this state. |
| GetOutgoingTransitions | Retrieves the transitions that originate from this state. |
| RemoveFromStateMachine | Removes the state from its state machine. |