void Awake() { scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder"); teamChecker = scriptHolder.GetComponent <TeamChecker> (); boardSetUp = this.GetComponent <BoardSetUp> (); troopRank = this.GetComponent <TroopRank> (); }
void Awake() { scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder"); teamChecker = scriptHolder.GetComponent <TeamChecker> (); playerTurn = scriptHolder.GetComponent <PlayerTurn> (); soldierBonus = this.GetComponent <SoldierBonus> (); }
void Awake() { targetingNetwork = this.GetComponent <TargetingNetwork> (); teamChecker = this.GetComponent <TeamChecker> (); GUI = GameObject.FindGameObjectWithTag("GUI"); gameInstructions = GUI.GetComponent <GameInstructions> (); }
void Awake() { teamChecker = this.GetComponent <TeamChecker> (); countryManagement = this.GetComponent <CountryManagement> (); targetingNetwork = this.GetComponent <TargetingNetwork> (); attack = this.GetComponent <Attack> (); globalFunctions = this.GetComponent <GlobalFunctions> (); phases = this.GetComponent <Phases> (); movementPhase = this.GetComponent <MovementPhase> (); }
void Awake() { scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder"); countryManagement = scriptHolder.GetComponent <CountryManagement> (); teamChecker = scriptHolder.GetComponent <TeamChecker> (); playerTurn = scriptHolder.GetComponent <PlayerTurn> (); GUI = GameObject.FindGameObjectWithTag("GUI"); gameInstructions = GUI.GetComponent <GameInstructions> (); }
void Awake() { territories = GameObject.FindGameObjectWithTag("Territories"); playerRank = territories.GetComponent <PlayerRank> (); boardSetUp = territories.GetComponent <BoardSetUp> (); scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder"); allocateSoldiers = scriptHolder.GetComponent <AllocateSoldiers> (); teamChecker = scriptHolder.GetComponent <TeamChecker> (); }
void Awake() { GUI = GameObject.FindGameObjectWithTag("GUI"); displayEditor = GUI.GetComponent <DisplayEditor> (); buttonColour = GUI.GetComponent <ButtonColour> (); gameInstructions = GUI.GetComponent <GameInstructions> (); scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder"); teamChecker = scriptHolder.GetComponent <TeamChecker> (); attack = scriptHolder.GetComponent <Attack> (); countryManagement = scriptHolder.GetComponent <CountryManagement> (); }
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() { scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder"); allocateSoldiers = scriptHolder.GetComponent <AllocateSoldiers> (); targetCountry = scriptHolder.GetComponent <TargetCountry> (); phases = scriptHolder.GetComponent <Phases> (); armyMovement = scriptHolder.GetComponent <ArmyMovement> (); playerTurn = scriptHolder.GetComponent <PlayerTurn> (); audioFadeOut = scriptHolder.GetComponent <AudioFadeOut> (); teamChecker = scriptHolder.GetComponent <TeamChecker> (); GUI = GameObject.FindGameObjectWithTag("GUI"); displayEditor = GUI.GetComponent <DisplayEditor> (); buttonColour = GUI.GetComponent <ButtonColour> (); }
void Awake() { GUI = GameObject.FindGameObjectWithTag("GUI"); gameInstructions = GUI.GetComponent <GameInstructions> (); displayEditor = GUI.GetComponent <DisplayEditor> (); targetingNetwork = this.GetComponent <TargetingNetwork> (); armyManagement = this.GetComponent <ArmyManagement>(); countryManagement = this.GetComponent <CountryManagement> (); takeControl = this.GetComponent <TakeControl> (); diceRoll = this.GetComponent <DiceRoll>(); phases = this.GetComponent <Phases> (); teamChecker = this.GetComponent <TeamChecker> (); targetCountry = this.GetComponent <TargetCountry> (); audioFadeOut = this.GetComponent <AudioFadeOut> (); }
void Awake() { territories = GameObject.FindGameObjectWithTag("Territories"); troopCount = territories.GetComponent <TroopCount> (); GUI = GameObject.FindGameObjectWithTag("GUI"); gameInstructions = GUI.GetComponent <GameInstructions> (); buttonColour = GUI.GetComponent <ButtonColour> (); displayEditor = GUI.GetComponent <DisplayEditor> (); phases = this.GetComponent <Phases> (); countryManagement = this.GetComponent <CountryManagement> (); addSoldier = this.GetComponent <AddSoldier> (); linkedTerritories = this.GetComponent <LinkedTerritories> (); playerTurn = this.GetComponent <PlayerTurn> (); teamChecker = this.GetComponent <TeamChecker> (); }
// Use this for initialization void Awake() { territories = GameObject.FindGameObjectWithTag("Territories"); troopCount = territories.GetComponent <TroopCount> (); boardSetUp = territories.GetComponent <BoardSetUp> (); changeCategory = territories.GetComponent <ChangeCatagory> (); GUI = GameObject.FindGameObjectWithTag("GUI"); openingDeployment = GUI.GetComponent <OpeningDeployment> (); displayEditor = GUI.GetComponent <DisplayEditor> (); buttonColour = GUI.GetComponent <ButtonColour> (); countryManagement = this.GetComponent <CountryManagement> (); playerTurn = this.GetComponent <PlayerTurn> (); teamChecker = this.GetComponent <TeamChecker> (); phases = this.GetComponent <Phases> (); globalFunctions = this.GetComponent <GlobalFunctions> (); }
void Awake() { countryManagement = this.GetComponent <CountryManagement> (); phases = this.GetComponent <Phases> (); teamChecker = this.GetComponent <TeamChecker> (); playerTurn = this.GetComponent <PlayerTurn> (); deploySoldiers = this.GetComponent <DeploySoldiers> (); attack = this.GetComponent <Attack> (); audioFadeOut = this.GetComponent <AudioFadeOut> (); territories = GameObject.FindGameObjectWithTag("Territories"); troopCount = territories.GetComponent <TroopCount> (); GUI = GameObject.FindGameObjectWithTag("GUI"); displayEditor = GUI.GetComponent <DisplayEditor> (); receiveBonus = GUI.GetComponent <ReceiveBonus> (); buttonColour = GUI.GetComponent <ButtonColour> (); }
void Awake() { gameInstructions = this.GetComponent <GameInstructions> (); scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder"); phases = scriptHolder.GetComponent <Phases> (); teamChecker = scriptHolder.GetComponent <TeamChecker> (); countryManagement = scriptHolder.GetComponent <CountryManagement> (); attack = scriptHolder.GetComponent <Attack> (); deploySoldiers = scriptHolder.GetComponent <DeploySoldiers> (); plusColour = plusBtn.GetComponent <Image> (); minusColour = minusBtn.GetComponent <Image> (); attackColour = attackBtn.GetComponent <Image> (); battleColour = battleBtn.GetComponent <Image> (); turnColour = turnBtn.GetComponent <Image> (); moveColour = moveBtn.GetComponent <Image> (); categoryColour = catergoryBtn.GetComponent <Image> (); attackText = attackBtn.GetComponentInChildren <Text> (); moveText = moveBtn.GetComponentInChildren <Text> (); }
void Awake() { scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder"); teamChecker = scriptHolder.GetComponent <TeamChecker> (); }
private void Awake() { territories = GameObject.FindGameObjectWithTag("Territories"); teamChecker = this.GetComponent <TeamChecker>(); }
void Awake() { teamChecker = this.GetComponent <TeamChecker> (); countryManagement = this.GetComponent <CountryManagement> (); targetingNetwork = this.GetComponent <TargetingNetwork> (); }