2019年8月

目录 e.g. :

Android (小米8 SE)

  Application.persistentDataPath:      /storage/emulated/0/Android/data/com.VoidGame.VoidTest/files

  Application.dataPath:         /data/app/com.VoidGame.VoidTest-I8LHz6QS8UFhI5FJas78Bg==/base.apk

  // 不支持 File 操作, 可以用 WWW 将文件拷贝到 persistentDataPath, 再用 File 操作 persistentDataPath里的文件

  Application.streamingAssetsPath:     jar:file:///data/app/com.VoidGame.VoidTest-I8LHz6QS8UFhI5FJas78Bg==/base.apk!assets

  Application.temporaryCachePath:     /storage/emulated/0/Android/data/com.VoidGame.VoidTest/cache

iPhone (iPhone SE)

  Application.persistentDataPath:      /var/mobile/Containers/Data/Application/915F2162-8006-4C1A-8A22-53AB9594AB35/Documents

  Application.dataPath:         /var/containers/Bundle/Application/BE703F0B-C6DB-47D4-A384-90E88B3F1A0D/ProductName.app/Data

  Application.streamingAssetsPath:     /var/containers/Bundle/Application/BE703F0B-C6DB-47D4-A384-90E88B3F1A0D/ProductName.app/Data/Raw

  Application.temporaryCachePath:     /var/mobile/Containers/Data/Application/915F2162-8006-4C1A-8A22-53AB9594AB35/Library/Caches

WindowsEditor:

  Application.persistentDataPath:      C:/Users/void/AppData/LocalLow/VoidGame/VoidTest

  Application.dataPath:         F:/Projects/Unity/VoidTest/Assets

  Application.streamingAssetsPath:     F:/Projects/Unity/VoidTest/Assets/StreamingAssets

  Application.temporaryCachePath:     C:/Users/void/AppData/Local/Temp/VoidGame/VoidTest

WindowsPalyer:

  Application.persistentDataPath:      C:/Users/void/AppData/LocalLow/VoidGame/VoidTest

  Application.dataPath:         F:/Projects/Unity/VoidTest/Build/test2/VoidTest_Data

  Application.streamingAssetsPath:     F:/Projects/Unity/VoidTest/Build/test2/VoidTest_Data/StreamingAssets

  Application.temporaryCachePath:     C:/Users/void/AppData/Local/Temp/VoidGame/VoidTest

 

posted on 2019-08-01 08:39  void87  阅读(312)  评论(0编辑  收藏  举报

导航