Explorar el Código

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

huangxiaoyue hace 1 año
padre
commit
70a71b7932
Se han modificado 1 ficheros con 1 adiciones y 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")