void Awake() { scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder"); attack = scriptHolder.GetComponent <Attack> (); boardSetUp = this.GetComponent <BoardSetUp> (); territoryBonus = this.GetComponent <TerritoryBonus> (); territoryRank = this.GetComponent <TerritoryRank> (); }
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() { territoryBonus = this.GetComponent <TerritoryBonus> (); continentBonus = this.GetComponent <ContinentBonus> (); soldierBonusRank = this.GetComponent <SoldierBonusRank> (); }