Application.persistentDataPath
http://docs.unity3d.com/ScriptRe ... istentDataPath.html
Contains the path to a persistent data directory (Read Only).
设备中的公开目录,根据平台的不同而不同。这里面的文件不会因为App升级而删除;
Application.temporaryCachePath
http://docs.unity3d.com/ScriptRe ... oraryCachePath.html
Contains the path to a temporary data / cache directory (Read Only).
设备的临时存储路径。
Application.dataPath
http://docs.unity3d.com/ScriptReference/Application-dataPath.html
游戏数据的存储路径:
Contains the path to the game data folder (Read Only).
The value depends on which platform you are running on:
unity Editor: <path to project folder>/Assets
Mac player: <path to player app bundle>/Contents
iPhone player: <path to player app bundle>/<AppName.app>/Data
Win player: <path to executablename_Data folder>
Web player: The absolute url to the player data file folder (without the actual data file name)
Flash: The absolute url to the player data file folder (without the actual data file name)
Note that the string returned on a PC will use a forward slash as a folder separator.