Method IsActive
IsActive(LocomotionState)
Whether this is the state of actively preparing or performing locomotion. This returns true if state is Preparing or Moving, false otherwise.
Declaration
public static bool IsActive(this LocomotionState state)
Parameters
| Type | Name | Description |
|---|---|---|
| LocomotionState | state | The locomotion state to check. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if state is Preparing or Moving, false otherwise. |