Пример #1
0
 public void disableNertaGaps()
 {
     foreach (GameObject NertaGap in NertaGaps)
     {
         NertaGap.GetComponent <Gap>().disable();
     }
 }
Пример #2
0
 public void assignPlayersToGaps()
 {
     foreach (GameObject IttlaGap in IttlaGaps)
     {
         IttlaGap.GetComponent <Gap>().setFaction(Util.Factions.Ittla);
     }
     foreach (GameObject NertaGap in NertaGaps)
     {
         NertaGap.GetComponent <Gap>().setFaction(Util.Factions.Nerta);
     }
 }