private void Awake()
 {
     objManager            = GameObject.Find("ObjManager").GetComponent <ObjManager>();
     panelStatusController = objManager.panelStatusController;
     gameObject.layer      = Macro.MODEL3D_ITEM; //设置为model3dItem层
     gameObject.tag        = Macro.UNSELECTED;   //将tag设置为未选中
 }
Example #2
0
 void Awake()
 {
     objManager            = GameObject.Find("ObjManager").GetComponent <ObjManager>();
     panelStatusController = objManager.panelStatusController;
 }
Example #3
0
 void Start()
 {
     panelStatus           = objManager.panelStatus;
     panelStatusController = panelStatus.GetComponentInChildren <PanelStatusController>();
     editorObjectSelection = objManager.editorObjectSelection;
 }