Пример #1
0
 public TestStateFirst(Action startCallback, Action exitCallback) : base(startCallback, exitCallback)
 {
     CanMoveToStates.Add(typeof(TestStateSecond));
 }
 public PlayerMovingState()
 {
     CanMoveToStates.Add(typeof(PlayerIdleState));
 }
Пример #3
0
 public GameStateLoading(MonoBehaviour coroutineRunner)
 {
     _coroutineRunner = coroutineRunner;
     CanMoveToStates.Add(typeof(GameStatePlaying));
 }
Пример #4
0
 public GameStatePlaying(GameSession session)
 {
     _session = session;
     CanMoveToStates.Add(typeof(GameStateGameOver));
 }