Unity中的Path对应各平台中的Path

IOS:
Application.dataPath :                    Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxx.app/Data
Application.streamingAssetsPath : Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxx.app/Data/Raw
Application.persistentDataPath :    Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Documents
Application.temporaryCachePath : Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Library/Caches

Android:
Application.dataPath :             /data/app/xxx.xxx.xxx.apk
Application.streamingAssetsPath :     jar:file:///data/app/xxx.xxx.xxx.apk/!/assets
Application.persistentDataPath :     /data/data/xxx.xxx.xxx/files
Application.temporaryCachePath :     /data/data/xxx.xxx.xxx/cache

Windows Web Player:
Application.dataPath :             file:///D:/MyGame/WebPlayer (即导包后保存的文件夹,html文件所在文件夹)
Application.streamingAssetsPath :     
Application.persistentDataPath :     
Application.temporaryCachePath :

原文地址:https://www.cnblogs.com/jiahuafu/p/6427568.html