|
@@ -321,11 +321,14 @@ namespace GFGGame
|
|
|
|
|
|
private void OnClickLoaBg(EventContext context)
|
|
|
{
|
|
|
- GRoot.inst.touchable = false;
|
|
|
-
|
|
|
- //if (context.inputEvent.clickCount > 1) {
|
|
|
- // return;
|
|
|
- //}
|
|
|
+ ET.Log.Debug("打印测试======context.inputEvent.clickCount==========" + context.inputEvent.clickCount);
|
|
|
+ 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)
|
|
|
+ {
|
|
|
+ return;
|
|
|
+ }
|
|
|
|
|
|
if (_recordOpenIndex.Count >= _rewardList.Count)
|
|
|
{
|
|
@@ -344,7 +347,6 @@ namespace GFGGame
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- GRoot.inst.touchable = true;
|
|
|
}
|
|
|
|
|
|
private void OnClickBtnPass()
|