Пример #1
0
 public void OnChangeBtnClick()
 {
     if (!this._isRemoteAvatar)
     {
         AvatarChangeEquipPageContext context = new AvatarChangeEquipPageContext(this._avatarData, this._avatarData.GetWeapon(), 1);
         Singleton <MainUIManager> .Instance.ShowPage(context, UIType.Page);
     }
 }
Пример #2
0
 public void OnChangeBtnCallBack()
 {
     if (!this._isRemoteAvatar)
     {
         if (this.GetFilterList().Count > 0)
         {
             AvatarChangeEquipPageContext context = new AvatarChangeEquipPageContext(this._avatarData, this._stigmataData, this._slot);
             Singleton <MainUIManager> .Instance.ShowPage(context, UIType.Page);
         }
         else
         {
             Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(LocalizationGeneralLogic.GetText("Err_NoSuitableStigmata", new object[0]), 2f), UIType.Any);
         }
     }
 }