Exemplo n.º 1
0
 private void StartWave()
 {
     //canvasManager.SetWaveCanvasAlpha(1f);
     canvasManager.AppearWaveCanvas();
     //canvasManager.SetWaveCoolDownAlpha(0);
     canvasManager.SetWaveCoolDownAlpha(0);
     audioManager.Play("NewWave");
     audioManager.SetVolumeWithFade("MusicMainScene", 0.6f, 3f);
     canvasManager.PlayWaveWarning();
     countdown = 10000f;
     waveSpawner.StartNextWave();
     nextAction = NextAction.Interval;
 }