示例#1
0
 /// <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);
 }
示例#2
0
 public void StartSpawnLoop()
 {
     print("Starting spawn loop");
     OnNewWave.Invoke(waveCounts[waveIndex]);
     StartCoroutine(ClassicSpawnLoop());
 }