[英]Documents Directory for Android and IOS in Unity C#?
Good Day currently I have an Idea to save my JSON file. 美好的一天,目前我有一个保存我的JSON文件的想法。 But the problem is, I don't know how to create a path for the phone's Documents Directory?
但是问题是,我不知道如何为手机的文档目录创建路径?
In corona SDK, I use 在电晕SDK中,我使用
system.pathForFile("filename.json", system.DocumentsDirectory)
but in Unity I don't know how to do this. 但是在Unity中,我不知道该怎么做。 Still using PlayerPrefs though, but I find it hard to manage.
虽然仍然使用PlayerPrefs,但是我发现它很难管理。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.