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