Ejemplo n.º 1
0
 private void Instance_OnPhaseChanged(object sender, PhaseController.Phase e)
 {
     switch (e)
     {
     case PhaseController.Phase.FIGHTING:
         Launch();
         break;
     }
 }
Ejemplo n.º 2
0
 private void OnPhaseChanged(object sender, PhaseController.Phase e)
 {
     switch (e)
     {
     case PhaseController.Phase.EXPLORING:
     case PhaseController.Phase.PREPARATION:
         StopCoroutine(StartWave());
         KillAllEnemies();
         break;
     }
 }