private void OnEnable() { UpdateMoney(); UpdateAttackBtn(null); EventCenter.AddEvent(EventEnum.UpdateMoney, UpdateMoney); EventCenter.AddEvent(EventEnum.ActionEvent, OnActionEvent); EventCenter.AddEvent(EventEnum.UpdateMainUIAttackBtn, UpdateAttackBtn); }
private void OnEnable() { EventCenter.AddEvent(EventEnum.ShowDialogue, OnShowDialogue); }
private void OnEnable() { EventCenter.AddEvent(EventEnum.GameInitOver, OnGameInitOver); }
void OnEnable() { EventCenter.AddEvent(EventEnum.ShowMsg, OnShowMsg); }
private void OnEnable() { EventCenter.AddEvent(EventEnum.SysMovement, OnSysMovement); }