public virtual void back(bool isHide = false, bool isPopup = true) { UI3System.HideGrayScreen(this); if (gameObject.activeInHierarchy) { OnBack(isHide); } }
public virtual void hide(bool isPopup = true) { isHideOnFullScreen = isPopup; UI3System.HideGrayScreen(this); if (gameObject.activeInHierarchy) { OnHide(); } }
private void OnDestroyWithScale() { if (gameObject != null) { if (m_wndType == UI3WndType.PopUp) { //高斯模糊 SetActiveRapidBlur(false); } if (OnClose != null) { OnClose(); OnClose = null; } gameObject.SetActive(false); UI3System.HideGrayScreen(this); UI3System.destroyWindow(this.GetClassName(), gameObject); } UI3System.PopBack(this.GetClassName()); }
private void OnBack(bool isHide = false) { UI3System.HideGrayScreen(this); if (gameObject != null) { if (isHide) { gameObject.SetActive(false); UI3System.HideWindow(this.GetClassName(), gameObject); } else { gameObject.SetActive(false); UI3System.destroyWindow(this.GetClassName(), gameObject); } if (OnClose != null) { OnClose(); OnClose = null; } UI3System.BackPopup(this.GetClassName()); } }
public virtual void HideGrayScreen() { UI3System.HideGrayScreen(this); }