public UIBase(int resId, UILevel uiLevel) { this.UILevel = uiLevel; ResId = resId; this.uiCreateType = UICreateType.Res; this.Name = CommonHelper.GetResourceMgr().GetResNameById(resId); }
public UIBase(int resId, UILevel uiLevel, UIDepth depth = UIDepth.Normal) { this.UILevel = uiLevel; ResId = resId; this.uiCreateType = UICreateType.Res; this.uiDepthLayer = depth; this.Name = CommonHelper.GetResourceMgr().GetResNameById(resId); }
protected void CreateWithGO(GameObject panel, UILevel uiLevel) { this.UILevel = uiLevel; this.ResId = 0; this.Panel = panel; this.Name = panel.name; this.uiCreateType = UICreateType.Go; }
protected UIBase(UIDepth depth = UIDepth.Normal) { this.ResId = 0; this.uiDepthLayer = depth; this.uiCreateType = UICreateType.Go; }
protected UIBase() { this.ResId = 0; this.uiCreateType = UICreateType.Go; }