| Parameter | Description |
|---|---|
| index | The zero-based index of the state to retrieve. |
IState The IState at the specified index.
Retrieves a state in the state machine by its index.
Use this method to access a state based on its creation order in the state machine. The index is zero-based and must be within range (see: StateMachine.StateCount).