Пример #1
0
        public UILayer GetLayer(UIType type)
        {
            switch (type)
            {
            case UIType.ComFull:
            case UIType.ComPopup:
                return(UILayer.CommonLayer);

            case UIType.Tips:
                return(UILayer.TipsLayer);

            case UIType.SystemPopup:
                return(UILayer.SystemPopupLayer);
            }
            Debug.Log($"没有找到对应类型 :{type} 的Layer");
            return(UILayer.None);
        }
Пример #2
0
 public UIListContainer(UIType uiType, int minOrder)
 {
     this.UIType   = uiType;
     this.MinOrder = minOrder;
 }
Пример #3
0
 public BaseContext(UIType viewType)
 {
     ViewType = viewType;
 }
Пример #4
0
 private void ResetMaskStatus()
 {
     m_clickCloseUI = UIName.None;
     curMaskUIType  = UIType.None;
 }
Пример #5
0
 /// <summary>
 /// 层级的初始值根据UIType类型来
 /// </summary>
 /// <param name="type"></param>
 public UIListMgr(UIType type)
 {
     m_startLayer = ((int)type - 1) * 1000 + 100;
     this.uiType  = type;
 }