Unityのplatformごとのパス
iOS
script | path |
---|---|
Application.dataPath | Application/{xxxxx}/{xxxxx}.app/Data |
Application.streamingAssetsPath | Application/{xxxxx}/{xxxxx}.app/Data/Raw |
Application.persistentDataPath | Application/{xxxxx}/{xxxxx}.app/Documents |
Application.temporaryCachePath | Application/{xxxxx}/{xxxxx}.app/Library/Caches |
Android
script | path |
---|---|
Application.dataPath | /data/app/{xxxxx}.apk |
Application.streamingAssetsPath | jar:file:///data/app/{xxxxx}.apk/!/assets |
Application.persistentDataPath | /data/data/{xxxxx}/files |
Application.temporaryCachePath | /data/data/{xxxxx}/cache |
Windows
script | path |
---|---|
Application.dataPath | /Assets |
Application.streamingAssetsPath | /Assets/StreamingAssets |
Application.persistentDataPath | C:/Users/{xxxxx}/AppData/LocalLow/ |
Application.temporaryCachePath | C:/Users{xxxxx}/AppData/Local/Temp/ |
Mac
script | path |
---|---|
Application.dataPath | /Assets |
Application.streamingAssetsPath | /Assets/StreamingAssets |
Application.persistentDataPath | /Users/{xxxxx}/Library/Caches/ |
Application.temporaryCachePath | /var/folders/{xxxxx}/{xxxxx}/T/ |