Summary
An
Animancer.FSM.IState
that uses delegates to define its behaviour.- Assembly
- Animancer
.dll - Namespace
- Animancer
.FSM - Interfaces
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IState"]
click Interface0 "/animancer/api/Animancer.FSM/IState"
Type["DelegateState"]
class Type type-node
Syntax
public class DelegateState : IState
Remarks
Documentation:
State Types
Fields
Properties
Name | Value | Summary |
---|---|---|
CanEnterState | bool |
[
Animancer.FSM.IState ] Calls Animancer.FSM.DelegateState.canEnter to determine whether this state can be entered. |
CanExitState | bool |
[
Animancer.FSM.IState ] Calls Animancer.FSM.DelegateState.canExit to determine whether this state can be exited. |
Methods
Name | Value | Summary |
---|---|---|
OnEnterState |
void |
[
Animancer.FSM.IState ] Calls Animancer.FSM.DelegateState.onEnter when this state is entered. |
OnExitState |
void |
[
Animancer.FSM.IState ] Calls Animancer.FSM.DelegateState.onExit when this state is exited. |