浏览代码

补充提交

zhangyuqian 1 年之前
父节点
当前提交
d10dbd6791
共有 1 个文件被更改,包括 1 次插入13 次删除
  1. 1 13
      GameClient/Assets/Game/HotUpdate/Data/ShareDataManager.cs

+ 1 - 13
GameClient/Assets/Game/HotUpdate/Data/ShareDataManager.cs

@@ -59,19 +59,7 @@ namespace GFGGame
 
 
         private void SetImageTargetPath()
         private void SetImageTargetPath()
         {
         {
-#if UNITY_EDITOR
-
-            outputImagePath = Application.dataPath + "/StreamingAssets" + "/share.png";
-
-#elif UNITY_IPHONE
- 
- outputImagePath = Application.dataPath+"/Ray"+"/share.png"; 
- 
-#elif UNITY_android
- 
- outputImagePath = "jar:file://"+Application.dataPath+"!/assets/"+"/share.png"; 
- 
-#endif
+            outputImagePath = Application.persistentDataPath + "/share.png";
         }
         }
     }
     }
 }
 }