Пример #1
0
 protected override void Awake()
 {
     base.Awake();
     stateMachine.Clear();
     stateMachine.Add(Gamestateprocesser.INIT, new InGameInitState());
     stateMachine.Add(Gamestateprocesser.START, new InGameStartState());
     stateMachine.Add(Gamestateprocesser.GAMEMAIN, new InGameMainState());
     stateMachine.Add(Gamestateprocesser.RESULT, new InGameResultState());
 }