public void ProcessStyle(GameObject obj) { if (obj == null) { return; } SEP_UI_Utilities.processComponents(obj); }
private void Open() { if (window_Prefab == null) { return; } if (window != null && window_Obj != null) { window.gameObject.SetActive(true); window.FadeIn(); return; } window_Obj = Instantiate(window_Prefab, getAnchor(), Quaternion.identity) as GameObject; if (window_Obj == null) { return; } SEP_UI_Utilities.processComponents(window_Obj); window_Obj.transform.SetParent(ApplicationLauncher.Instance.appSpace, false); window = window_Obj.GetComponent <SEP_Window>(); if (window == null) { return; } window.setWindow(this); window.gameObject.SetActive(true); }