|
@@ -78,16 +78,11 @@ namespace GFGGame
|
|
|
|
|
|
private void OnClickBg()
|
|
private void OnClickBg()
|
|
{
|
|
{
|
|
- //int suitId = GetSuitItemController.TryShow(0);
|
|
|
|
- //if (suitId > 0)
|
|
|
|
- //{
|
|
|
|
- // UpdateView(suitId);
|
|
|
|
- //}
|
|
|
|
- //else
|
|
|
|
- //{
|
|
|
|
|
|
+ if (!GetSuitItemController.isAuto)
|
|
|
|
+ {
|
|
Hide();
|
|
Hide();
|
|
EventAgent.DispatchEvent(ConstMessage.LUCKY_BOX_SHOW_VIEW_CLOSE);
|
|
EventAgent.DispatchEvent(ConstMessage.LUCKY_BOX_SHOW_VIEW_CLOSE);
|
|
- //}
|
|
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
private void UpdateItem(int itemdId)
|
|
private void UpdateItem(int itemdId)
|