public void disableIttlaGaps() { foreach (GameObject IttlaGap in IttlaGaps) { IttlaGap.GetComponent <Gap>().disable(); } }
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); } }