The path in Unity corresponds to the path in each platform.

Source: Internet
Author: User

Recently, unity was used to read the paths of various platforms, especially for mobile platforms.
It is a variety of pain points
I would like to share with you the following:
IOS:
Application. datapath: Application/XXXXXXXX-XXXX-xxxxxxxxxxxx/xxx. APP/Data
Application. streamingassetspath: Application/XXXXXXXX-XXXX-xxxxxxxxxxxx/xxx. APP/data/raw
Application. persistentdatapath: Application/XXXXXXXX-XXXX-xxxxxxxxxxxx/Documents
Application. temporarycachepath: Application/XXXXXXXX-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/XXX. XXX. XXX/Files
Application. temporarycachepath:/data/XXX. XXX. XXX/Cache


Windows Web player:
Application. datapath: file: // D:/mygame/webplayer (that is, the folder saved after the import package and the folder where the HTML file is located)
Application. streamingassetspath:
Application. persistentdatapath:
Application. temporarycachepath:


Note:
Application. persistentdatapath is the place where the mobile terminal can save and generate files.
It cannot be changed after it is packaged in resource.
In application. datapath, the China mobile client has no access permission.

========================================================== ==============
How to view the iPhone file storage directory? First, jailbreak is required. After jailbreak, open the iPhone mobile phone directory and find all the software directories of the iPhone under the/applications directory.


IPhone file directory


1./Applications


Installation Directory of common software.


2./private Ar/mobile/Media/iPhone video recorder


IPhone video recorder video file storage directory.


3./private Ar/mobile/Media/dcim


The directory where the photo files taken by the camera are stored.


4./privatear/mobile/Media/itunes_control/music


The multimedia files uploaded by iTunes (such as MP3 and MP4) are stored in directories. The files are not modified, but the file name is changed. You can directly download them to your computer to read them.


5./private Ar/root/Media/eBooks


Pandatv reading directory.


6./library/ringtones


The directory where incoming call ringtones are stored.


7./system/library/Audio/uisounds


Note the default effect ringtones of other systems (the m4r ringtone file is changed to. CAF). The name of the SMS ringtone is a caf file starting with SMS-converted ed.


8./privatear/mobile/library/addressbook


The directory where the system phone book is stored.


/Privatear/mobile/library/SMS


SMS storage directory


9./private Ar/mobile/Media/iPhone Recorder


IPhone recorder recording software file storage directory


10./applications/preferences. APP/zh_cn.lproj


Chinese-Simplified file storage directory of the software preferences. app


11./library/Wallpaper


Directory for storing system q1ang paper


12./system/library/Audio/uisounds


Storage directory of system sound files


13./privatear/root/Media/pxl


Ibrickr uploads a database created by the installer, which is estimated to be similar to the Windows uninstall record.


14./bin


Similar to the Linux system, it is the directory where the system executes commands.


15./privatear/mobile/library/SMS


System text message storage directory


16./privatear/run


Temporary directory for running system processes? (View all processes started by the system)


17./privatear/logs/crashreporter

The path in Unity corresponds to the path in each platform.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.