zt3ff3n 发表于 2022-6-15 13:47

Unity 平台路径地址

一) android 平台中的资源路径
Application.dataPath                /data/app/xxx.xxx.xxx.apkApplication.streamingAssetsPath   jar:file:///data/app/xxx.xxx.xxx.apk/!/assetsApplication.persistentDataPath      /data/data/xxx.xxx.xxx/filesApplication.temporaryCachePath      /data/data/xxx.xxx.xxx/cache
二) ios 平台中的资源路径
Application.dataPath                Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxx.app/DataApplication.streamingAssetsPath   Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxx.app/Data/RawApplication.persistentDataPath      Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/DocumentsApplication.temporaryCachePath      Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Library/Caches
页: [1]
查看完整版本: Unity 平台路径地址