Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     if (type != "hall")
     {
         script = townHall.GetComponent <TownHallScript>();
     }
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     selected      = false;
     soldierScript = GetComponent <SoldierScript>();
     townScript    = GetComponent <MapObject>().townHall.GetComponent <TownHallScript>();
 }
Esempio n. 3
0
 // Use this for initialization
 void Start()
 {
     selected = false;
     soldierScript = GetComponent<SoldierScript>();
     townScript = GetComponent<MapObject>().townHall.GetComponent<TownHallScript>();
 }
Esempio n. 4
0
 // Use this for initialization
 void Start()
 {
     if (type != "hall") {
         script = townHall.GetComponent<TownHallScript>();
     }
 }