Example #1
0
 private void OnDisable()
 {
     EventCenter.RemoveEvent(EventEnum.UpdateMoney, UpdateMoney);
     EventCenter.RemoveEvent(EventEnum.ActionEvent, OnActionEvent);
     EventCenter.RemoveEvent(EventEnum.UpdateMainUIAttackBtn, UpdateAttackBtn);
     ClearAcitonEvent();
 }
Example #2
0
 private void OnDisable()
 {
     EventCenter.RemoveEvent(EventEnum.ShowDialogue, OnShowDialogue);
     obj.SetActive(false);
 }
Example #3
0
 private void OnDisable()
 {
     EventCenter.RemoveEvent(EventEnum.GameInitOver, OnGameInitOver);
 }
Example #4
0
 void OnDisable()
 {
     isShowing = false;
     EventCenter.RemoveEvent(EventEnum.ShowMsg, OnShowMsg);
 }
Example #5
0
 private void OnDisable()
 {
     EventCenter.RemoveEvent(EventEnum.SysMovement, OnSysMovement);
 }