Explorar o código

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

huangxiaoyue hai 1 ano
pai
achega
70a71b7932
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")