/// <summary> /// Tells the Unit wave controller to find the time for the wave and then /// announce the time in an event /// </summary> private void findTimeForWave() { waveController.findWaveTime(); newWaveStart.Invoke(waveController.WaveTime + timeBetweenWaves); }
public void StartSpawnLoop() { print("Starting spawn loop"); OnNewWave.Invoke(waveCounts[waveIndex]); StartCoroutine(ClassicSpawnLoop()); }