Example #1
0
    private bool currentRound()
    {
        _spawn        = GameObject.Find("SpawnCenter");
        _currentRound = _spawn.GetComponent <EnemySpawn>();
        int round = _currentRound.GetCurrRound();

        _gameInfoText["Round "] = round + "";
        return(round == 3);
    }