コード例 #1
0
ファイル: GameManager.cs プロジェクト: rendyramon/minigames
    IEnumerator StartGame()
    {
        // Launch CountDown
        yield return(StartCoroutine(countDown.BeginCountDown()));

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

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