浏览代码

商城购买弹窗小图标换读取路径

huangxiaoyue 1 年之前
父节点
当前提交
70a71b7932
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Utils/ItemUtil.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Utils/ItemUtil.cs

@@ -262,7 +262,7 @@ namespace GFGGame
 
 
             ItemCfg cfg = ItemCfgArray.Instance.GetCfg(itemId);
-            com.m_loaIcon.url = ResPathUtil.GetCommonGameResPath(cfg.res);
+            com.m_loaIcon.url = ResPathUtil.GetIconPath(cfg);
             UI_ComCostCurrency.ProxyEnd();
         }
         public static void UpdateItemNeedNum(GObject obj, int[] cost, bool checkNum = true, string color = "#716B59")