Beispiel #1
0
 public static void DestroyAllPowerups()
 {
     foreach (PowerUp p in instance.GetComponentsInChildren <PowerUp>())
     {
         Destroy(p.gameObject);
     }
 }