Example #1
0
 /// <summary>
 /// 重新显示状态
 /// </summary>
 public virtual void redisplay()
 {
     this.gameObject.SetActive(true);
     //设置模态窗体调用(必须是弹出窗体)
     if (currentUIType.uiShowType == UIShowType.Pop)
     {
         MaskManager.getInstance().setMask(this.gameObject, currentUIType.uiTransparentType);
     }
 }
Example #2
0
 /// <summary>
 /// 隐藏状态
 /// </summary>
 public virtual void hiding()
 {
     this.gameObject.SetActive(false);
     //取消模态窗体调用
     if (currentUIType.uiShowType == UIShowType.Pop)
     {
         MaskManager.getInstance().cancelMask();
     }
 }