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