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

摘星显示套装集齐界面点击问题

zhangyuqian 1 жил өмнө
parent
commit
6c55643f82

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

@@ -54,18 +54,22 @@ namespace GFGGame
             _ui.m_t_open.Play();
             if (GetSuitItemController.isAuto)
             {
-                Timers.inst.Add(0.7f, 1, WaitAutoEnd);
+                Timers.inst.Add(1.2f, 1, WaitAutoEnd);
             }
         }
         private void OnClickBg()
         {
             if(!GetSuitItemController.isAuto)
             {
-                this.Hide();
                 if (count == totalCount)
                 {
                     ViewManager.Show<GetSuitItemVIew>(suitID);
                 }
+                else
+                {
+                    EventAgent.DispatchEvent(ConstMessage.LUCKY_BOX_ANIMATION_WAIT);
+                }
+                this.Hide();
             }
         }