|
@@ -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();
|
|
|
}
|
|
|
}
|
|
|
|