Beispiel #1
0
 void Awake()
 {
     deploySolders   = this.GetComponent <DeploySoldiers> ();
     armyManagement  = this.GetComponent <ArmyManagement> ();
     globalFunctions = this.GetComponent <GlobalFunctions> ();
     phases          = this.GetComponent <Phases> ();
     attackPhase     = this.GetComponent <AttackPhase> ();
 }
Beispiel #2
0
    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> ();
    }
Beispiel #3
0
    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> ();
    }