Class DemoFixedStateMachine
Demo state machine for
Namespace: nickmaltbie.StateMachineUnity.Tests.EditMode.Fixed
Assembly: cs.temp.dll.dll
Syntax
public class DemoFixedStateMachine : FixedSM
Fields
actionStateCounts
Counts of actions for each combination of (Action, State).
Declaration
public ConcurrentDictionary<(Type, Type), int> actionStateCounts
Field Value
Type | Description |
---|---|
ConcurrentDictionary<(T1 Item1, T2 Item2)<Type, Type>, Int32> |
OnEntryCount
Times that a state is entered.
Declaration
public ConcurrentDictionary<Type, int> OnEntryCount
Field Value
Type | Description |
---|---|
ConcurrentDictionary<Type, Int32> |
OnExitCount
Times that a state is exited.
Declaration
public ConcurrentDictionary<Type, int> OnExitCount
Field Value
Type | Description |
---|---|
ConcurrentDictionary<Type, Int32> |
Methods
DoNothing()
Demo state machine for
Declaration
public void DoNothing()
OnEnterStartingState()
Demo state machine for
Declaration
public void OnEnterStartingState()
OnEnterStateACount()
Demo state machine for
Declaration
public void OnEnterStateACount()
OnEnterStateBCount()
Demo state machine for
Declaration
public void OnEnterStateBCount()
OnEnterStateCCount()
Demo state machine for
Declaration
public void OnEnterStateCCount()
OnExitStartingState()
Demo state machine for
Declaration
public void OnExitStartingState()
OnUpdateStateA()
Demo state machine for
Declaration
public void OnUpdateStateA()