Documentation

Unity Engine


Unity Engine


GetStates()

Retrieves all states in the state machine.
Read time 1 minuteLast updated a month ago

Definition

public IEnumerable<IState> GetStates()

Returns

Type

Description

IEnumerable<IState>An
IEnumerable
of all IStates in the state machine.

Remarks

Use this method to access every state in the state machine. States are returned in the order they were created.
The list includes: