|
@@ -165,6 +165,7 @@ namespace GFGGame
|
|
base.OnHide();
|
|
base.OnHide();
|
|
Timers.inst.Remove(UpDataTime);
|
|
Timers.inst.Remove(UpDataTime);
|
|
Timers.inst.Remove(UpClickDataTime);
|
|
Timers.inst.Remove(UpClickDataTime);
|
|
|
|
+ Timers.inst.Remove(touchFlipOpen);
|
|
|
|
|
|
foreach (var v in _effectUIDic)
|
|
foreach (var v in _effectUIDic)
|
|
{
|
|
{
|
|
@@ -467,7 +468,7 @@ namespace GFGGame
|
|
ViewManager.Show<LuckyBoxNewDressView>(_rewardItemList);
|
|
ViewManager.Show<LuckyBoxNewDressView>(_rewardItemList);
|
|
_recordTurnIndex.Add(index);
|
|
_recordTurnIndex.Add(index);
|
|
_countShow = 0;
|
|
_countShow = 0;
|
|
- _ui.m_touchFlipOpen.touchable = false;
|
|
|
|
|
|
+ Timers.inst.Add(1.5f, 1, touchFlipOpen); //防止点击太快
|
|
}
|
|
}
|
|
}
|
|
}
|
|
else
|
|
else
|
|
@@ -478,6 +479,12 @@ namespace GFGGame
|
|
UI_LuckyBoxBonusShowItem.ProxyEnd();
|
|
UI_LuckyBoxBonusShowItem.ProxyEnd();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ private void touchFlipOpen(object param)
|
|
|
|
+ {
|
|
|
|
+ Timers.inst.Remove(touchFlipOpen);
|
|
|
|
+ _ui.m_touchFlipOpen.touchable = false;
|
|
|
|
+ }
|
|
|
|
+
|
|
private void TurnItem(int index)
|
|
private void TurnItem(int index)
|
|
{
|
|
{
|
|
if (!_recordOpenIndex.Contains(index))
|
|
if (!_recordOpenIndex.Contains(index))
|