Browse Source

修改改名字界面的改名卡图片显示

leiyasi 1 year ago
parent
commit
e4e52819df

+ 3 - 1
GameClient/Assets/Game/HotUpdate/Views/RoleInfo/ChangeNameView.cs

@@ -66,7 +66,9 @@ namespace GFGGame
                     _ui.m_txtNeed.text = string.Format("改名卡:{0}/{1}", haveNum, needNum);
                 }
                 ItemCfg cfg = ItemCfgArray.Instance.GetCfg(GlobalCfgArray.globalCfg.changeNameCostArr[0]);
-                _ui.m_loaIcon.url = ResPathUtil.GetCommonGameResPath(cfg.res);
+                //_ui.m_loaIcon.url = ResPathUtil.GetCommonGameResPath(cfg.res);
+                _ui.m_loaIcon.url = ResPathUtil.GetIconPath(cfg.res, "png");
+
             }
         }
 

BIN
GameClient/Assets/ResIn/UI/RoleInfo/RoleInfo_fui.bytes