|
@@ -98,6 +98,7 @@ namespace GFGGame
|
|
|
base.AddEventListener();
|
|
|
EventAgent.AddEventListener(ConstMessage.LUCKY_BOX_REWARD_SHOW, ReferNextShow);
|
|
|
EventAgent.AddEventListener(ConstMessage.LUCKY_BOX_ANIMATION_WAIT, SetAnimationWait);
|
|
|
+ EventAgent.AddEventListener(ConstMessage.LUCKY_BOX_SHOW_VIEW_CLOSE, OthershowViewClose);
|
|
|
}
|
|
|
|
|
|
protected override void RemoveEventListener()
|
|
@@ -105,6 +106,12 @@ namespace GFGGame
|
|
|
base.RemoveEventListener();
|
|
|
EventAgent.RemoveEventListener(ConstMessage.LUCKY_BOX_REWARD_SHOW, ReferNextShow);
|
|
|
EventAgent.RemoveEventListener(ConstMessage.LUCKY_BOX_ANIMATION_WAIT, SetAnimationWait);
|
|
|
+ EventAgent.RemoveEventListener(ConstMessage.LUCKY_BOX_SHOW_VIEW_CLOSE, OthershowViewClose);
|
|
|
+ }
|
|
|
+
|
|
|
+ protected void OthershowViewClose()
|
|
|
+ {
|
|
|
+ _ui.m_touchFlipOpen.touchable = false;
|
|
|
}
|
|
|
|
|
|
protected void ReferNextShow()
|