Exemplo n.º 1
0
    void Awake()
    {
        scriptHolder = GameObject.FindGameObjectWithTag("ScriptHolder");
        attack       = scriptHolder.GetComponent <Attack> ();

        boardSetUp     = this.GetComponent <BoardSetUp> ();
        territoryBonus = this.GetComponent <TerritoryBonus> ();
        territoryRank  = this.GetComponent <TerritoryRank> ();
    }
Exemplo n.º 2
0
 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> ();
 }
Exemplo n.º 3
0
 void Awake()
 {
     territoryBonus   = this.GetComponent <TerritoryBonus> ();
     continentBonus   = this.GetComponent <ContinentBonus> ();
     soldierBonusRank = this.GetComponent <SoldierBonusRank> ();
 }