Пример #1
0
 public void OnStatExit(SimpleFSM <TStateKey> stateMachine, ISimpleFSMState <TStateKey> toState)
 {
     exit?.Invoke(stateMachine, toState);
 }
Пример #2
0
 public void Update(SimpleFSM <TStateKey> stateMachine, float deltaTime)
 {
     update?.Invoke(stateMachine, deltaTime);
 }
Пример #3
0
 public void OnStateEnter(SimpleFSM <TStateKey> stateMachine, ISimpleFSMState <TStateKey> fromState)
 {
     enter?.Invoke(stateMachine, fromState);
 }