void Awake() { scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder"); teamChecker = scriptHolder.GetComponent <TeamChecker> (); playerTurn = scriptHolder.GetComponent <PlayerTurn> (); soldierBonus = this.GetComponent <SoldierBonus> (); }
void Awake() { territoryCount = this.GetComponent <TerritoryCount> (); soldierBonus = this.GetComponent <SoldierBonus> (); territories = GameObject.FindGameObjectWithTag("Territories"); boardSetUp = territories.GetComponent <BoardSetUp> (); }
void Awake() { troopCount = this.GetComponent <TroopCount> (); territoryCount = this.GetComponent <TerritoryCount> (); territoryBonus = this.GetComponent <TerritoryBonus> (); continentBonus = this.GetComponent <ContinentBonus> (); soldierBonus = this.GetComponent <SoldierBonus> (); playerRank = this.GetComponent <PlayerRank> (); boardSetUp = this.GetComponent <BoardSetUp> (); }
void Awake() { territories = GameObject.FindGameObjectWithTag("Territories"); soldierBonus = territories.GetComponent <SoldierBonus> (); GUI = GameObject.FindGameObjectWithTag("GUI"); receiveBonus = GUI.GetComponent <ReceiveBonus> (); buttonColour = GUI.GetComponent <ButtonColour> (); phases = this.GetComponent <Phases> (); playerTurn = this.GetComponent <PlayerTurn> (); }
void Awake() { territoryRank = this.GetComponent <TerritoryRank> (); territoryCount = this.GetComponent <TerritoryCount> (); troopRank = this.GetComponent <TroopRank> (); troopCount = this.GetComponent <TroopCount> (); soldierBonusRank = this.GetComponent <SoldierBonusRank> (); soldierBonus = this.GetComponent <SoldierBonus> (); scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder"); teamChecker = scriptHolder.GetComponent <TeamChecker>(); playerTurn = scriptHolder.GetComponent <PlayerTurn>(); }
void Awake() { soldierBonus = this.GetComponent <SoldierBonus> (); playerRank = this.GetComponent <PlayerRank> (); }