Explorar o código

摘星展示界面双击问题增加打印

huangxiaoyue hai 1 ano
pai
achega
764b5b96a1

+ 0 - 1
GameClient/Assets/Game/HotUpdate/Controller/GMController.cs

@@ -83,7 +83,6 @@ namespace GFGGame
             //LogUtil.LogDev("ShowGmView");
             if (ViewManager.isViewOpen(typeof(PhotographView).FullName)) return;
             if (ViewManager.isViewOpen(typeof(StoryDialogView).FullName)) return;
-            if (ViewManager.isViewOpen(typeof(LuckyBoxBonusShowView).FullName)) return;
             if (GameConfig.showGM >= 1)
             {
                 ViewManager.Show<GMPanelView>();

+ 4 - 1
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxBonusShowView.cs

@@ -283,6 +283,8 @@ namespace GFGGame
 
         private void HandClickItem(int index)
         {
+            ET.Log.Debug("打印测试======点击触发====翻牌开始动画=====");
+
             _ui.m_touchFlipOpen.touchable = true;
             _handClick = true;
             ClickItem(index);
@@ -325,10 +327,11 @@ namespace GFGGame
             ET.Log.Debug("打印测试======context.inputEvent.isDoubleClick==========" + context.inputEvent.isDoubleClick);
             ET.Log.Debug("打印测试======context.inputEvent.button==========" + context.inputEvent.button);
             ET.Log.Debug("打印测试======Stage.inst.touchCount=========" + Stage.inst.touchCount);
-            if (context.inputEvent.button == 1 && Stage.inst.touchCount >= 2)
+            if (Stage.inst.touchCount != 1)
             {
                 return;
             }
+            ET.Log.Debug("打印测试======点击触发=========");
 
             if (_recordOpenIndex.Count >= _rewardList.Count)
             {