Ejemplo n.º 1
0
 void Start()
 {
     mtConnect    = GameObject.FindGameObjectWithTag("Controller").GetComponent <MTConnect>();
     uIController = GameObject.FindGameObjectWithTag("UIController").GetComponent <UIController>();
     parser       = GameObject.FindGameObjectWithTag("Controller").GetComponent <IndoorGMLParser>();
     if (parser.inspection)
     {
         navigation = GameObject.FindGameObjectWithTag("Controller").GetComponent <Navigation>();
     }
     machinePanelControl = GameObject.FindGameObjectWithTag("UIController").GetComponent <MachinePanelControl>();
 }
Ejemplo n.º 2
0
 private void Start()
 {
     parser              = GameObject.FindGameObjectWithTag("Controller").GetComponent <IndoorGMLParser>();
     uiController        = GameObject.FindGameObjectWithTag("UIController").GetComponent <UIController>();
     machinePanelControl = GameObject.FindGameObjectWithTag("UIController").GetComponent <MachinePanelControl>();
 }