Animancer.FSM Namespace


A flexible Finite State Machine system.

Class Types

Class Summary
DelegateState An Animancer.FSM.IState that uses delegates to define its behaviour.
ReverseComparer<T> An System.Collections.Generic.IComparer`1 which reverses the default comparison.
State An empty Animancer.FSM.IState that implements all the required methods as virtual.
StateBehaviour Base class for UnityEngine.MonoBehaviour states to be used in a Animancer.FSM.StateMachine`1.
StateExtensions Various extension methods for Animancer.FSM.IState and Animancer.FSM.IOwnedState`1.
StateMachine<TKey, TState> A simple Finite State Machine system that registers each state with a particular key.
StateMachine<TState> A simple keyless Finite State Machine system.

Interface Types

Interface Summary
IKeyedStateMachine<TKey> Interface for accessing Animancer.FSM.StateMachine`2 without the TState.
IOwnedState<TState> An Animancer.FSM.IState that knows which Animancer.FSM.StateMachine`1 it is used in.
IPrioritizable An object with a Animancer.FSM.IPrioritizable.Priority.
IState A state that can be used in a Animancer.FSM.StateMachine`1.

Struct Types

Struct Summary
KeyChange<TKey> A static access point for the details of a key change in a Animancer.FSM.StateMachine`2.
StateChange<TState> A static access point for the details of a state change in a Animancer.FSM.StateMachine`1.