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> (); }
private void Awake() { territories = GameObject.FindGameObjectWithTag("Territories"); territoryRank = territories.GetComponent <TerritoryRank>(); territoryCount = territories.GetComponent <TerritoryCount>(); scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder"); playerTurn = scriptHolder.GetComponent <PlayerTurn>(); buttonColour = this.GetComponent <ButtonColour>(); }
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() { countryManagement = this.GetComponent <CountryManagement> (); armyManagement = this.GetComponent <ArmyManagement> (); soldierTransfer = this.GetComponent <SoldierTransfer> (); territories = GameObject.FindGameObjectWithTag("Territories"); territoryCount = territories.GetComponent <TerritoryCount> (); continentBonus = territories.GetComponent <ContinentBonus> (); GUI = GameObject.FindGameObjectWithTag("GUI"); buttonColour = GUI.GetComponent <ButtonColour> (); gameInstructions = GUI.GetComponent <GameInstructions> (); }
void Awake() { GUI = GameObject.FindGameObjectWithTag("GUI"); receiveBonus = GUI.GetComponent <ReceiveBonus> (); gameInstructions = GUI.GetComponent <GameInstructions> (); buttonColour = GUI.GetComponent <ButtonColour> (); openingDeployment = GUI.GetComponent <OpeningDeployment> (); endGame = GUI.GetComponent <EndGame>(); displayEditor = GUI.GetComponent <DisplayEditor>(); territories = GameObject.FindGameObjectWithTag("Territories"); territoryCount = territories.GetComponent <TerritoryCount> (); playerTurn = this.GetComponent <PlayerTurn> (); deploySoldiers = this.GetComponent <DeploySoldiers> (); armyMovement = this.GetComponent <ArmyMovement> (); }
void Awake() { playerRank = this.GetComponent <PlayerRank> (); territoryCount = this.GetComponent <TerritoryCount> (); }