유니티 플랫폼별 경로들
Unity3D 2016. 2. 3. 10:56Editor
- Application.dataPath /*project*/Assets
Web Player
System.IO.Path.GetFullPath(".") | %Project% |
Application.dataPath | %Project%/Assets |
Application.persistentDataPath | %userprofile%\AppData\LocalLow/%Company%/%Product% |
Application.streamingAssetsPath | %Project%/Assets/StreamingAssets |
Application.temporaryCachePath | %LocalAppData%/Local/Temp/Temp/%Company%/%Product% |
Android
System.IO.Path.GetFullPath(".") | / |
Application.dataPath | /data/app/%BundleIdentifier%.apk |
Application.persistentDataPath | /data/data/%BundleIdentifier%/files |
Application.streamingAssetsPath | jar:file:///data/app/%BundleIdentifier%.apk/!/assets |
Application.temporaryCachePath | /data/data/%BundleIdentifier%/cache |
Android sdcard
Application.persistentDataPath | /mnt/sdcard/Android/data/%BundleIdentifier%/files |
Application.streamingAssetsPath | jar:file:///data/app/%BundleIdentifier%.apk/!/assets |
Application.temporaryCachePathz | /mnt/sdcard/Android/data/%BundleIdentifier%/cache |
iOS
System.IO.Path.GetFullPath(".") | / |
Application.dataPath | %ProvisioningProfile%/%BundleIdentifier%.app/Data |
Application.persistentDataPath | %ProvisioningProfile%/Documents |
Application.streamingAssetsPath | %ProvisioningProfile%/%BundleIdentifier%.app/Data/Raw |
Application.temporaryCachePath | %ProvisioningProfile%/Library/Caches |
// ** iPhone device
- Application.dataPath /var/mobile/Applications/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Assets
- Application.persistentDataPath : /var/mobile/Applications/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Documents
- Application.temporaryCachePath : /var/mobile/Applications/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Library/Caches
- iPhpone Simulator Path : /Users/<Name>/Library/Application Support/iPhone Simulator/4.1/Applications/<GUID>/
// ** Android
- Application.dataPath /mnt/asec/com.xxx.xxx/pkg.apk
- Application.persistentDataPath /data/data/com.xxx.xxx/files/
- Application.temporaryCachePath /data/data/com.xxx.xxx/cache/
* sdcard 사용시.
- Application.persistentDataPath /mnt/sdcard/Android/data/com.xxx.xxx/files/
- Application.temporaryCachePath /mnt/sdcard/Android/data/com.xxx.xxx/cache/
'Unity3D' 카테고리의 다른 글
CookingSaga Framework Architecture (0) | 2016.03.09 |
---|---|
ReorderableList으로 다양한 기능을 가진 List구현하기 (0) | 2016.02.04 |
cmd logcat 사용하기 (1) | 2016.02.03 |
이클립스 실행시 Java was started but returned exit code=1 에러가 날때. (0) | 2016.02.03 |
sqlite (0) | 2016.01.20 |