Ejemplo n.º 1
0
    IEnumerator StartGame()
    {
        // Launch CountDown
        yield return(StartCoroutine(countDown.BeginCountDown()));

        // Disable CountDown
        countDown.gameObject.SetActive(false);

        // Start the Game
        game.beginGame();
    }