void SetWave()
    {
        switch (wave)
        {
        case 1:
            zombieSpawner.ResetSpawn();
            zombieSpawner.InvokeRepeating("SpawnSimpleZombie", 1f, 1f);
            zombieSpawner.InvokeRepeating("SpawnFastZombie", 0f, 5f);
            zombieSpawner.simpleCounter = 10;
            zombieSpawner.fastCounter   = 5;
            WaitForNextWave(25);
            break;

        case 2:
            zombieSpawner.ResetSpawn();
            zombieSpawner.InvokeRepeating("SpawnSimpleZombie", 1f, 1f);
            zombieSpawner.InvokeRepeating("SpawnRunnerZombie", 2f, 2f);
            zombieSpawner.InvokeRepeating("SpawnFastZombie", 0f, 5f);
            zombieSpawner.simpleCounter = 20;
            zombieSpawner.fastCounter   = 5;
            zombieSpawner.runnerCounter = 5;
            WaitForNextWave(35);
            break;

        case 3:
            zombieSpawner.ResetSpawn();
            zombieSpawner.InvokeRepeating("SpawnSimpleZombie", 1f, 1f);
            zombieSpawner.InvokeRepeating("SpawnRunnerZombie", 2f, 2f);
            zombieSpawner.InvokeRepeating("SpawnFastZombie", 2f, 2f);
            zombieSpawner.InvokeRepeating("SpawnGhostZombie", 0f, 5f);
            zombieSpawner.simpleCounter = 20;
            zombieSpawner.runnerCounter = 10;
            zombieSpawner.fastCounter   = 10;
            zombieSpawner.ghostCounter  = 5;
            WaitForNextWave(45);
            break;

        case 4:
            zombieSpawner.ResetSpawn();
            zombieSpawner.InvokeRepeating("SpawnSimpleZombie", 1f, 1f);
            zombieSpawner.InvokeRepeating("SpawnFastZombie", 2f, 2f);
            zombieSpawner.InvokeRepeating("SpawnGhostZombie", 5f, 3f);
            zombieSpawner.simpleCounter = 30;
            zombieSpawner.fastCounter   = 20;
            zombieSpawner.ghostCounter  = 10;
            WaitForNextWave(60);
            break;

        case 5:
            zombieSpawner.ResetSpawn();
            zombieSpawner.InvokeRepeating("SpawnSimpleZombie", 1f, 1f);
            zombieSpawner.InvokeRepeating("SpawnFastZombie", 1f, 1f);
            zombieSpawner.InvokeRepeating("SpawnRunnerZombie", 2f, 2f);
            zombieSpawner.InvokeRepeating("SpawnGhostZombie", 5f, 3f);
            zombieSpawner.InvokeRepeating("SpawnKnifeBossZombie", 5f, 10f);
            zombieSpawner.simpleCounter    = 10;
            zombieSpawner.fastCounter      = 20;
            zombieSpawner.runnerCounter    = 10;
            zombieSpawner.ghostCounter     = 10;
            zombieSpawner.knifeBossCounter = 1;
            WaitForNextWave(60);
            break;

        case 6:
            zombieSpawner.ResetSpawn();
            zombieSpawner.InvokeRepeating("SpawnIceZombie", 0.5f, 0.75f);
            zombieSpawner.InvokeRepeating("SpawnFastZombie", 1f, 1f);
            zombieSpawner.InvokeRepeating("SpawnRunnerZombie", 2f, 2f);
            zombieSpawner.InvokeRepeating("SpawnGhostZombie", 5f, 3f);
            zombieSpawner.iceCounter    = 12;
            zombieSpawner.fastCounter   = 15;
            zombieSpawner.runnerCounter = 15;
            zombieSpawner.ghostCounter  = 12;
            WaitForNextWave(60);
            break;

        case 7:
            zombieSpawner.ResetSpawn();
            zombieSpawner.InvokeRepeating("SpawnFastZombie", 1f, 1f);
            zombieSpawner.InvokeRepeating("SpawnIceZombie", 0.5f, 0.75f);
            zombieSpawner.InvokeRepeating("SpawnOldZombie", 0f, 5f);
            zombieSpawner.InvokeRepeating("SpawnRunnerZombie", 1f, 1f);
            zombieSpawner.InvokeRepeating("SpawnGhostZombie", 5f, 3f);
            zombieSpawner.fastCounter   = 15;
            zombieSpawner.iceCounter    = 15;
            zombieSpawner.oldCounter    = 5;
            zombieSpawner.runnerCounter = 15;
            zombieSpawner.ghostCounter  = 8;
            noMore = true;
            break;

        default:
            waveText.text = "";
            break;
        }
    }