Ejemplo n.º 1
0
    void Start()
    {
        thrusters = new Thrusters();

        //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;
    }
Ejemplo n.º 2
0
 // 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;
 }
Ejemplo n.º 3
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;
 }
Ejemplo n.º 4
0
 // 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;
 }