Browse Source

引导抽卡快速点击确定会不显示星星界面

zhaoyang 3 years ago
parent
commit
bf2f7d7364

+ 1 - 3
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxView.cs

@@ -8,7 +8,7 @@ using ET;
 
 
 namespace GFGGame
 namespace GFGGame
 {
 {
-    public class LuckyBoxView : BaseWindow
+    public class LuckyBoxView : BaseView
     {
     {
         private UI_LuckyBoxUI _ui;
         private UI_LuckyBoxUI _ui;
         private ValueBarController _valueBarController;
         private ValueBarController _valueBarController;
@@ -215,7 +215,6 @@ namespace GFGGame
         {
         {
             LuckyBoxDataManager.Instance.CheckItemEnough(LuckyBoxDataManager.Instance.currentBoxId, LuckyBoxDataManager.TEN_TIME, async () =>
             LuckyBoxDataManager.Instance.CheckItemEnough(LuckyBoxDataManager.Instance.currentBoxId, LuckyBoxDataManager.TEN_TIME, async () =>
             {
             {
-                GRoot.inst.touchable = false;
                 bool result = await LuckyBoxSProxy.ReqGetBonus(LuckyBoxDataManager.Instance.currentBoxId, LuckyBoxDataManager.TEN_TIME);
                 bool result = await LuckyBoxSProxy.ReqGetBonus(LuckyBoxDataManager.Instance.currentBoxId, LuckyBoxDataManager.TEN_TIME);
                 if (result)
                 if (result)
                 {
                 {
@@ -224,7 +223,6 @@ namespace GFGGame
                     LogServerHelper.SendNodeLog((int)PlayParticipationEnum.ZAI_XING, 2);
                     LogServerHelper.SendNodeLog((int)PlayParticipationEnum.ZAI_XING, 2);
 
 
                 }
                 }
-                GRoot.inst.touchable = true;
             });
             });
         }
         }
 
 

+ 2 - 1
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -117,6 +117,7 @@ namespace GFGGame
             AddEffect();
             AddEffect();
             EventAgent.AddEventListener(ConstMessage.NUMERIC_CHANGE, OnNumericChange);
             EventAgent.AddEventListener(ConstMessage.NUMERIC_CHANGE, OnNumericChange);
 
 
+            // StorageSProxy.ReqSetClientValue(ConstStorageId.STORAGE_GUIDE + 4, 0).Coroutine();
         }
         }
 
 
         protected override void OnShown()
         protected override void OnShown()
@@ -328,7 +329,7 @@ namespace GFGGame
             ViewManager.Show<DailyTaskView>();
             ViewManager.Show<DailyTaskView>();
         }
         }
         private void OnClickHeadBar()
         private void OnClickHeadBar()
-{
+        {
             GUIUtility.systemCopyBuffer = RoleDataManager.roleName;
             GUIUtility.systemCopyBuffer = RoleDataManager.roleName;
             ViewManager.Show(ViewName.ROLE_INFO_VIEW);
             ViewManager.Show(ViewName.ROLE_INFO_VIEW);
         }
         }

+ 1 - 1
GameClient/Assets/ThirdParty/FairyGUI/Scripts/UI/GRoot.cs

@@ -162,7 +162,7 @@ namespace FairyGUI
         }
         }
 
 
         /// <summary>
         /// <summary>
-        /// 将一个窗口提到所有窗口的最前面
+        /// 将一个窗口提到所有窗口的最前面/最上层
         /// </summary>
         /// </summary>
         /// <param name="win"></param>
         /// <param name="win"></param>
         public void BringToFront(Window win)
         public void BringToFront(Window win)