|
@@ -59,19 +59,7 @@ namespace GFGGame
|
|
|
|
|
|
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";
|
|
|
}
|
|
|
}
|
|
|
}
|