/// <summary>
    /// Inits the start.
    /// </summary>
    public void InitStart()
    {
        gameOverPopup.SetActive(false);

        stateGame = Enums.StateGame.Start;

        StartCoroutine(PrepareInitGame());
    }
 /// <summary>
 /// Updating Game State.
 /// </summary>
 public void UpdateState(Enums.StateGame state)
 {
     stateGame = state;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Inits the start.
 /// </summary>
 public void InitStart()
 {
     stateGame = Enums.StateGame.Start;
 }