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