|
@@ -39,7 +39,8 @@ namespace GFGGame
|
|
|
|
|
|
|
|
|
|
#if UNITY_ANDROID
|
|
#if UNITY_ANDROID
|
|
- path = Application.persistentDataPath.IndexOf("Android") > 0 ? path.Substring(0, Application.persistentDataPath.IndexOf("Android")) : path + "/Pictures/万世镜/";
|
|
|
|
|
|
+
|
|
|
|
+ path = Application.persistentDataPath.IndexOf("Android") > 0 ? path.Substring(0, Application.persistentDataPath.IndexOf("Android")) + "/Pictures/万世镜/" : path + "/Pictures/万世镜/";
|
|
#endif
|
|
#endif
|
|
//判断目录是否存在,不存在则会创建目录
|
|
//判断目录是否存在,不存在则会创建目录
|
|
if (!Directory.Exists(path))
|
|
if (!Directory.Exists(path))
|