Bladeren bron

修改部分UI适配

leiyasi 1 jaar geleden
bovenliggende
commit
ee0dbb365d

+ 3 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingDecompose/UI_ClothingDecomposeUI.cs

@@ -10,7 +10,7 @@ namespace UI.ClothingDecompose
         public Controller m_c1;
         public Controller m_TouchSelect;
         public Controller m_clothesType;
-        public GLoader m_bg;
+        public GLoader m_loaBg;
         public GLoader m_Top_img;
         public UI_Button6 m_btnClothing;
         public UI_Button6 m_btnSkillBook;
@@ -77,7 +77,7 @@ namespace UI.ClothingDecompose
             m_c1 = comp.GetController("c1");
             m_TouchSelect = comp.GetController("TouchSelect");
             m_clothesType = comp.GetController("clothesType");
-            m_bg = (GLoader)comp.GetChild("bg");
+            m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_Top_img = (GLoader)comp.GetChild("Top_img");
             m_btnClothing = (UI_Button6)UI_Button6.Create(comp.GetChild("btnClothing"));
             m_btnSkillBook = (UI_Button6)UI_Button6.Create(comp.GetChild("btnSkillBook"));
@@ -100,7 +100,7 @@ namespace UI.ClothingDecompose
             m_c1 = null;
             m_TouchSelect = null;
             m_clothesType = null;
-            m_bg = null;
+            m_loaBg = null;
             m_Top_img = null;
             m_btnClothing.Dispose();
             m_btnClothing = null;

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingShop/UI_ClothingShopUI.cs

@@ -11,6 +11,7 @@ namespace UI.ClothingShop
         public GLoader m_loaBg;
         public UI_ComClothingRole m_compHolder;
         public UI_ComClothingShopItemInfo m_compItemInfo;
+        public GLoader m_Top_img;
         public GComponent m_valueBar;
         public GButton m_btnBack;
         public GTextField m_txtTitle;
@@ -74,6 +75,7 @@ namespace UI.ClothingShop
             m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_compHolder = (UI_ComClothingRole)UI_ComClothingRole.Create(comp.GetChild("compHolder"));
             m_compItemInfo = (UI_ComClothingShopItemInfo)UI_ComClothingShopItemInfo.Create(comp.GetChild("compItemInfo"));
+            m_Top_img = (GLoader)comp.GetChild("Top_img");
             m_valueBar = (GComponent)comp.GetChild("valueBar");
             m_btnBack = (GButton)comp.GetChild("btnBack");
             m_txtTitle = (GTextField)comp.GetChild("txtTitle");
@@ -95,6 +97,7 @@ namespace UI.ClothingShop
             m_compHolder = null;
             m_compItemInfo.Dispose();
             m_compItemInfo = null;
+            m_Top_img = null;
             m_valueBar = null;
             m_btnBack = null;
             m_txtTitle = null;

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Main/UI_ComAllPerfect.cs

@@ -8,6 +8,7 @@ namespace UI.Main
     {
         public GComponent target;
         public Controller m_c1;
+        public GGraph m_mask;
         public GGraph m_holderSmokeIn;
         public GGraph m_holderLoop;
         public GGraph m_holder;
@@ -71,6 +72,7 @@ namespace UI.Main
         private void Init(GComponent comp)
         {
             m_c1 = comp.GetController("c1");
+            m_mask = (GGraph)comp.GetChild("mask");
             m_holderSmokeIn = (GGraph)comp.GetChild("holderSmokeIn");
             m_holderLoop = (GGraph)comp.GetChild("holderLoop");
             m_holder = (GGraph)comp.GetChild("holder");
@@ -90,6 +92,7 @@ namespace UI.Main
         public void Dispose(bool disposeTarget = false)
         {
             m_c1 = null;
+            m_mask = null;
             m_holderSmokeIn = null;
             m_holderLoop = null;
             m_holder = null;

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Main/UI_StorySkillUI.cs

@@ -7,6 +7,7 @@ namespace UI.Main
     public partial class UI_StorySkillUI
     {
         public GComponent target;
+        public GGraph m_mask;
         public GImage m_bg;
         public UI_ComSkillShow m_comSkillShow;
         public GGraph m_effReduceScore;
@@ -65,6 +66,7 @@ namespace UI.Main
 
         private void Init(GComponent comp)
         {
+            m_mask = (GGraph)comp.GetChild("mask");
             m_bg = (GImage)comp.GetChild("bg");
             m_comSkillShow = (UI_ComSkillShow)UI_ComSkillShow.Create(comp.GetChild("comSkillShow"));
             m_effReduceScore = (GGraph)comp.GetChild("effReduceScore");
@@ -79,6 +81,7 @@ namespace UI.Main
         }
         public void Dispose(bool disposeTarget = false)
         {
+            m_mask = null;
             m_bg = null;
             m_comSkillShow.Dispose();
             m_comSkillShow = null;

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/ClothingDecompose/ClothingDecomposeView.cs

@@ -49,7 +49,7 @@ namespace GFGGame
 
             _ui.m_btnBack.onClick.Add(OnClickBtnBack);
 
-            _ui.m_bg.url = ResPathUtil.GetBgImgPath("quanping_moren_bg");
+            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("quanping_moren_bg");
 
             _ui.m_listTab.onClickItem.Add((EventContext context) =>
             {

BIN
GameClient/Assets/ResIn/UI/ClothingDecompose/ClothingDecompose_fui.bytes


BIN
GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_fui.bytes


BIN
GameClient/Assets/ResIn/UI/Main/Main_fui.bytes