|
@@ -75,6 +75,7 @@ namespace GFGGame
|
|
|
EventAgent.AddEventListener(ConstMessage.ACTIVITY_LUCKY_BOX, UpdateView);
|
|
|
EventAgent.AddEventListener(ConstMessage.RED_CHANGE, UpdateRedDot);
|
|
|
EventAgent.AddEventListener(ConstMessage.SHOP_BUY, UpLuckyDiscount);
|
|
|
+ EventAgent.AddEventListener(ConstMessage.LUCKY_BOX_BONUS_VIEW_CLOSE, UpLuckyDiscount);
|
|
|
}
|
|
|
protected override void OnShown()
|
|
|
{
|
|
@@ -338,6 +339,7 @@ namespace GFGGame
|
|
|
EventAgent.RemoveEventListener(ConstMessage.ACTIVITY_LUCKY_BOX, UpdateView);
|
|
|
EventAgent.RemoveEventListener(ConstMessage.RED_CHANGE, UpdateRedDot);
|
|
|
EventAgent.RemoveEventListener(ConstMessage.SHOP_BUY, UpLuckyDiscount);
|
|
|
+ EventAgent.RemoveEventListener(ConstMessage.LUCKY_BOX_BONUS_VIEW_CLOSE, UpLuckyDiscount);
|
|
|
}
|
|
|
|
|
|
private void OnClickBtnBack()
|