Эх сурвалжийг харах

修改摘星适配的显示

leiyasi 1 жил өмнө
parent
commit
ae4e9ce667

+ 3 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/CommonGame/UI_GetSuitItemUI.cs

@@ -7,7 +7,7 @@ namespace UI.CommonGame
     public partial class UI_GetSuitItemUI
     {
         public GComponent target;
-        public GLoader m_bg;
+        public GLoader m_loaBg;
         public GGraph m_holderEffect;
         public GGraph m_holder;
         public GTextField m_txtName;
@@ -60,7 +60,7 @@ namespace UI.CommonGame
 
         private void Init(GComponent comp)
         {
-            m_bg = (GLoader)comp.GetChild("bg");
+            m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_holderEffect = (GGraph)comp.GetChild("holderEffect");
             m_holder = (GGraph)comp.GetChild("holder");
             m_txtName = (GTextField)comp.GetChild("txtName");
@@ -69,7 +69,7 @@ namespace UI.CommonGame
         }
         public void Dispose(bool disposeTarget = false)
         {
-            m_bg = null;
+            m_loaBg = null;
             m_holderEffect = null;
             m_holder = null;
             m_txtName = null;

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/CommonGame/UI_SuitItemUI.cs

@@ -7,6 +7,7 @@ namespace UI.CommonGame
     public partial class UI_SuitItemUI
     {
         public GComponent target;
+        public GGraph m_mask;
         public GLoader m_loaBg;
         public GLoader m_iconBg;
         public GGraph m_downEffect;
@@ -65,6 +66,7 @@ namespace UI.CommonGame
 
         private void Init(GComponent comp)
         {
+            m_mask = (GGraph)comp.GetChild("mask");
             m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_iconBg = (GLoader)comp.GetChild("iconBg");
             m_downEffect = (GGraph)comp.GetChild("downEffect");
@@ -79,6 +81,7 @@ namespace UI.CommonGame
         }
         public void Dispose(bool disposeTarget = false)
         {
+            m_mask = null;
             m_loaBg = null;
             m_iconBg = null;
             m_downEffect = null;

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/CommonGame/GetSuitItemVIew.cs

@@ -42,7 +42,7 @@ namespace GFGGame
             isfullScreen = true;
 
             _dressUpObjUI = new DressUpObjUI("SceneDressUp",onShowAction);
-            _ui.m_bg.onClick.Add(OnClickBg);
+            _ui.m_loaBg.onClick.Add(OnClickBg);
 
             _effectUI1 = EffectUIPool.CreateEffectUI(_ui.m_holderEffect, "ui_ck", "ui_ck_tz");
         }
@@ -120,7 +120,7 @@ namespace GFGGame
             int count = 0;//套装当前拥有的部件数量
             int totalCount = 1;
             // int suitId = 0;
-            _ui.m_bg.url = ResPathUtil.GetBgImgPath("bg_zhuxian");
+            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("bg_zhuxian");
             DressUpMenuSuitDataManager.GetSuitProgressBySuitId(suitId, out count, out totalCount);
             if (suitId > 0)
             {

BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_fui.bytes