leiyasi 1 жил өмнө
parent
commit
50317182b6

+ 2 - 2
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ActivityWanShiLi/UI_ComProBonus2.cs

@@ -8,7 +8,7 @@ namespace UI.ActivityWanShiLi
     {
         public GComponent target;
         public Controller m_state;
-        public GLoader m_loaIcon;
+        public GButton m_loaIcon;
         public GTextField m_count;
         public GImage m_imgGot;
         public const string URL = "ui://z8lqda6wevdh27";
@@ -59,7 +59,7 @@ namespace UI.ActivityWanShiLi
         private void Init(GComponent comp)
         {
             m_state = comp.GetController("state");
-            m_loaIcon = (GLoader)comp.GetChild("loaIcon");
+            m_loaIcon = (GButton)comp.GetChild("loaIcon");
             m_count = (GTextField)comp.GetChild("count");
             m_imgGot = (GImage)comp.GetChild("imgGot");
         }

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Views/ActivityWanShiLiUI/ActivityWanShiLiView.cs

@@ -216,7 +216,7 @@ namespace GFGGame
                         bonus.target.touchable = false;
                         item.target.touchable = false;
                         // 隐藏红点
-                        RedDotController.Instance.SetComRedDot(bonus.target, false);
+                        RedDotController.Instance.SetComRedDot(bonus.m_loaIcon, false);
                         RedDotController.Instance.SetComRedDot(item.target, false);
                     }
                     // 未领
@@ -226,7 +226,7 @@ namespace GFGGame
                         bonus.target.touchable = true;
                         item.target.touchable = true;
                         // 显示红点
-                        RedDotController.Instance.SetComRedDot(bonus.target, true);
+                        RedDotController.Instance.SetComRedDot(bonus.m_loaIcon, true);
                         RedDotController.Instance.SetComRedDot(item.target, true);
                     }
                 }
@@ -237,7 +237,7 @@ namespace GFGGame
                     bonus.m_state.SetSelectedIndex(1);
                     
                     // 隐藏红点
-                    RedDotController.Instance.SetComRedDot(bonus.target, false);
+                    RedDotController.Instance.SetComRedDot(bonus.m_loaIcon, false);
                     RedDotController.Instance.SetComRedDot(item.target, false);
                 }
                 progressItem.onClick.Set(OnGiftClick);

BIN
GameClient/Assets/ResIn/UI/ActivityThemeLuckyBox/ActivityThemeLuckyBox_fui.bytes


BIN
GameClient/Assets/ResIn/UI/ActivityWanShiLi/ActivityWanShiLi_fui.bytes


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


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