public virtual void Show() { if (Exist) { WndObject.SetActive(true); if (WindowStyle.WS_Ext <= mWindowStyle) { mExtBackground.SetActive(true); } } OnShow(); }
public virtual void Hide() { if (Exist && WndObject != null) { WndObject.SetActive(false); if (WindowStyle.WS_Ext <= mWindowStyle) { mExtBackground.SetActive(false); } } OnHide(); }
public override void Hide() { if (Exist) { WndObject.SetActive(false); if (WindowStyle.WS_Ext <= mWindowStyle) { mExtBackground.SetActive(false); } } OnHide(); }
private void OnClickPause(GameObject go) { int size = UIMoveControl.mUIMoveControlList.Count; for (int i = 0; i < size; i++) { UIMoveControl.mUIMoveControlList[i].SetEndPos(); } if (Exist) { WndObject.SetActive(false); } if (!PauseWnd.Exist) { PauseWnd.Instance.Open(); } }