public virtual void OnPanelClosed() { PanelManager.SetPanelActive(this, false); if (mClosedHandler != null) { mClosedHandler(); } }
/// <summary> /// 开启窗口回调 /// </summary> /// <returns>当可以打开时,返回 true,否则返回 false</returns> public virtual bool OpenPanel() { GetEventHandlers(); PanelManager.SetPanelActive(this, true); return(true); }