Example #1
0
 public UIBase(int resId, UILevel uiLevel)
 {
     this.UILevel      = uiLevel;
     ResId             = resId;
     this.uiCreateType = UICreateType.Res;
     this.Name         = CommonHelper.GetResourceMgr().GetResNameById(resId);
 }
Example #2
0
 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);
 }
Example #3
0
 protected void CreateWithGO(GameObject panel, UILevel uiLevel)
 {
     this.UILevel      = uiLevel;
     this.ResId        = 0;
     this.Panel        = panel;
     this.Name         = panel.name;
     this.uiCreateType = UICreateType.Go;
 }
Example #4
0
 protected UIBase(UIDepth depth = UIDepth.Normal)
 {
     this.ResId        = 0;
     this.uiDepthLayer = depth;
     this.uiCreateType = UICreateType.Go;
 }
Example #5
0
 protected UIBase()
 {
     this.ResId        = 0;
     this.uiCreateType = UICreateType.Go;
 }