Exemple #1
0
 void Start()
 {
     //Automatically populate the Gui variable with the Gui script attached to the EmptyObject Gui using its Gui Tag
     Gui = GameObject.FindWithTag("Gui").GetComponent(typeof(GuiInGame)) as GuiInGame;
 }
 // Use this for initialization
 void Start()
 {
     //Automatically populate the Gui variable with the Gui script attached to the EmptyObject Gui using its Gui Tag
     Gui = GameObject.FindWithTag("Gui").GetComponent(typeof(GuiInGame)) as GuiInGame;
     totalLandingPads = (GameObject.FindGameObjectsWithTag("LandingPad") as GameObject[]).Length;
 }