Ejemplo n.º 1
0
 public void PrefabDied(GameObject enemy)
 {
     //ignore this callback if the spawn instance is null (next wave began)
     if (this == null || parentWave == null)
     {
         return;
     }
     ChildrenSpawnsActivate();
     parentWave.CheckOffList(enemy);
 }