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); }
public UIListContainer(UIType uiType, int minOrder) { this.UIType = uiType; this.MinOrder = minOrder; }
public BaseContext(UIType viewType) { ViewType = viewType; }
private void ResetMaskStatus() { m_clickCloseUI = UIName.None; curMaskUIType = UIType.None; }
/// <summary> /// 层级的初始值根据UIType类型来 /// </summary> /// <param name="type"></param> public UIListMgr(UIType type) { m_startLayer = ((int)type - 1) * 1000 + 100; this.uiType = type; }