您的位置:首页 > 移动开发 > Unity3D

Unity3D各平台Application.xxxPath的路径

2017-11-27 09:04 211 查看
iOS:

Application.dataPath            /var/containers/Bundle/Application/app sandbox/xxx.app/Data

Application.streamingAssetsPath /var/containers/Bundle/Application/app sandbox/test.app/Data/Raw

Application.temporaryCachePath /var/mobile/Containers/Data/Application/app sandbox/Library/Caches

Application.persistentDataPath  /var/mobile/Containers/Data/Application/app sandbox/Documents

Android:

Application.dataPath            /data/app/package name-1/base.apk

Application.streamingAssetsPath jar:file:///data/app/package name-1/base.apk!/assets

Application.temporaryCachePath /storage/emulated/0/Android/data/package name/cache

Application.persistentDataPath   /storage/emulated/0/Android/data/package name/files

Windows:

Application.dataPath:            应用的appname_Data/

Application.streamingAssetsPath: 应用的appname_Data/StreamingAssets

Application.temporaryCachePath: C:\Users\username\AppData\Local\Temp\company name\product name

Application.persistentDataPath:   C:\Users\username\AppData\LocalLow\company name\product name

转载:http://blog.csdn.net/u010377179/article/details/52922727

http://blog.csdn.net/ynnmnm/article/details/52253674
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐