Example #1
0
 public void StartGame()
 {
     currentState = PlayerState.States.gameStarted;
     UIManager.Instance.StartGame();
     LevelManager.Instance.StartTheFirstLevel();
     UpdateTheRemainText();
 }
Example #2
0
 private void Awake()
 {
     Instance     = this;
     currentState = PlayerState.States.Wait;
 }