Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     m_InspectorPannel   = GameObject.FindGameObjectWithTag("InspectorPannel").GetComponent <InspectorPannel>();
     m_InformationPannel = GameObject.FindGameObjectWithTag("InformationPannel").GetComponent <InformationPanel>();
     m_RightClickCanvas  = GameObject.FindGameObjectWithTag("RightClickCanvas").GetComponent <RightClickCanvas>();
     isSelected          = false;
     m_RightClickCanvas.setActive(false);
 }
 // Use this for initialization
 void Start()
 {
     m_InspectorPannel = GameObject.FindGameObjectWithTag("InspectorPannel").GetComponent<InspectorPannel>();
     m_InformationPannel = GameObject.FindGameObjectWithTag("InformationPannel").GetComponent<InformationPanel>();
     m_RightClickCanvas = GameObject.FindGameObjectWithTag("RightClickCanvas").GetComponent<RightClickCanvas>();
     isSelected = false;
     m_RightClickCanvas.setActive(false);
 }