private IEnumerator GenerateNewWaveWithDelay(EnemyWave wave) { yield return(new WaitForSeconds(this.spawnDelay)); wave.Generate(); ManagerProvider.EventManager.EnemyWaveGeneratedEvent.OnEvent(wave); }
private void GenerateNewWave(EnemyWave wave) { wave.Generate(); ManagerProvider.EventManager.EnemyWaveGeneratedEvent.OnEvent(wave); }