Summary
Is it currently possible to enter the specified `state`?
- Assembly
- Animancer
.dll - Namespace
- Animancer
.FSM - Containing Type
- StateMachine
<TState>
Syntax
public bool CanSetState(TState state)
Remarks
This requires
Animancer.FSM.IState.CanExitState on the Animancer.FSM.StateMachine`1.CurrentState and
Animancer.FSM.IState.CanEnterState on the specified `state` to both return true.
Parameters
| Name | Type | Description |
|---|---|---|
| state | TState |
Return Value
| Type | Description |
|---|---|
| bool |