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