Пример #1
0
    private IEnumerator StartNewRound(float t)
    {
        yield return(new WaitForSeconds(t));

        round++;
        totalZombiesSpawned  = 0;
        numOfZombiesToSpawn += zombiesToAddPerRound;
        generatedZombieIndex = 0;
        generatedZombies     = GenerateZombies();
        StartCoroutine(StartRound());
        lootManager.SpawnFreshLoot();
        stats.numOfRoundsSurvived++;
        goreManager.FadeGore();
    }