예제 #1
0
 public UIBase(int resId, UILevel uiLevel)
 {
     this.UILevel      = uiLevel;
     ResId             = resId;
     this.uiCreateType = UICreateType.Res;
     this.Name         = CommonHelper.GetResourceMgr().GetResNameById(resId);
 }
예제 #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);
 }
예제 #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;
 }
예제 #4
0
 protected UIBase(UIDepth depth = UIDepth.Normal)
 {
     this.ResId        = 0;
     this.uiDepthLayer = depth;
     this.uiCreateType = UICreateType.Go;
 }
예제 #5
0
 protected UIBase()
 {
     this.ResId        = 0;
     this.uiCreateType = UICreateType.Go;
 }