public void Recycle(Enemy enemy)
 {
     enemy.gameObject.SetActive(false);
     spawner.Recycle(enemy);
 }
 internal void Recycle(Transform stone)
 {
     stone.gameObject.SetActive(false);
     spawner.Recycle(stone);
 }
 internal void Recycle(Transform bursh)
 {
     bursh.gameObject.SetActive(false);
     spawner.Recycle(bursh);
 }
Beispiel #4
0
 public void Recycle(Ammunition ammunition)
 {
     ammunition.gameObject.SetActive(false);
     spawner.Recycle(ammunition);
 }