浏览代码

搭配赛修改图片本地路径

zhangyuqian 11 月之前
父节点
当前提交
f502af9b05
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      GameClient/Assets/Game/HotUpdate/Data/MatchingCompetitionDataManager.cs

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Data/MatchingCompetitionDataManager.cs

@@ -597,9 +597,9 @@ namespace GFGGame
         //**********下面接口只针对于搭配赛排行榜*************
         //不建议频繁修改用户设备上的文件。
         //需要在移动平台上管理文件,最好是在应用的沙盒目录内操作
-        public string LocalRankPath = Application.streamingAssetsPath + "/ImageDPSRank";
-        public string LocalBeforePath = Application.streamingAssetsPath + "/ImageDPSBe";
-        public string LoaclMy = Application.streamingAssetsPath + "/ImageMy";
+        public string LocalRankPath = Application.persistentDataPath + "/ImageDPSRank";
+        public string LocalBeforePath = Application.persistentDataPath + "/ImageDPSBe";
+        public string LoaclMy = Application.persistentDataPath + "/ImageMy";
         //将获取的图片下载到本地,通过排行榜判断,如果该图片不存在于最新的排行榜内就删除
         public void DownloadImageListToLocal(List<Byte[]> imageBytesList, List<long> ImageName,string targerPath)
         {