State Class

Summary

An empty Animancer.FSM.IState that implements all the required methods as virtual.
Assembly
Animancer.dll
Namespace
Animancer.FSM
Interfaces
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type-.->Interface0["IState"] click Interface0 "/animancer/api/Animancer.FSM/IState" Type["State"] class Type type-node Derived0["GameManagerFSM.State"]-->Type click Derived0 "/animancer/api/Animancer.Examples.StateMachines.GameManager/State"

Syntax

public abstract class State : IState

Remarks

Documentation: Finite State Machines

Properties

Name Value Summary
CanEnterState bool
Animancer.FSM.IState.CanEnterState
CanExitState bool
Animancer.FSM.IState.CanExitState

Methods

Name Value Summary
OnEnterState() void
Animancer.FSM.IState.OnEnterState
OnExitState() void
Animancer.FSM.IState.OnExitState