Ejemplo n.º 1
0
 public void StartGame()
 {
     Enemy.OnEnemiesChange += OnEnemiesChange;
     WaveGenerator.Init();
     this.cannonLevel = 1;
     this.money       = 0;
     glass.Damage     = 0;
     timeStarted      = DateTime.Now;
     glass.ResetGlass();
     startScreen.SetActive(false);
     endScreen.SetActive(false);
     emittersControl.StartEmitting();
 }