IEnumerator StartGame() { // Launch CountDown yield return(StartCoroutine(countDown.BeginCountDown())); // Disable CountDown countDown.gameObject.SetActive(false); // Start the Game game.beginGame(); }
IEnumerator StartGame() { // Launch CountDown yield return(StartCoroutine(countDown.BeginCountDown())); // Disable CountDown countDown.gameObject.SetActive(false); // Start the Game game.beginGame(); }