Ejemplo n.º 1
0
    public override void Execute(INotification notification)
    {
        PlayerBattleInfoUIForm playerBattleInfoUIForm = notification.Body as PlayerBattleInfoUIForm;

        if (playerBattleInfoUIForm)
        {
            SendNotification(GlobalSetting.Msg_InitPlayerBattleInfoMediator, playerBattleInfoUIForm);
        }
    }
Ejemplo n.º 2
0
 public void InitPlayerBattleInfoMediator(PlayerBattleInfoUIForm uiForm)
 {
     m_viewComponent        = uiForm;
     uiForm.preRanderAction = UpdateBaseUI;
     uiForm.SetDefaultInfo();
 }