void OnDestroy() { if (zombieSpawner.FinishedWaveCheck() && wavesManager.noMore) { wavesManager.Win(); } }