Example #1
0
 public void RemoteBomb()
 {
     for (int i = 0; i < ballHost.transform.childCount; i++)
     {
         Bomb m1 = ballHost.transform.GetChild(i).gameObject.GetComponent <Bomb>();
         if (m1 != null)
         {
             m1.Boom();
         }
     }
 }