void Awake() { armyMovement = this.GetComponent <ArmyMovement> (); linkedTerritories = this.GetComponent <LinkedTerritories> (); countryManagement = this.GetComponent <CountryManagement> (); globalFunctions = this.GetComponent <GlobalFunctions> (); phases = this.GetComponent <Phases> (); }
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> (); }