public override void Execute(INotification notification) { PlayerBattleInfoUIForm playerBattleInfoUIForm = notification.Body as PlayerBattleInfoUIForm; if (playerBattleInfoUIForm) { SendNotification(GlobalSetting.Msg_InitPlayerBattleInfoMediator, playerBattleInfoUIForm); } }
public void InitPlayerBattleInfoMediator(PlayerBattleInfoUIForm uiForm) { m_viewComponent = uiForm; uiForm.preRanderAction = UpdateBaseUI; uiForm.SetDefaultInfo(); }