Unity3d persistent data path. The files can still be erased by users directly.
Unity3d persistent data path. path相关路径,尤其是persistentDataPath在热更中的作用。 由于StreamingAssets只读,资源更新需复制到persistentDataPath,该路径在安装后形成,数据持久存在。. This value is a directory path where you can store data that you want to be kept between runs. Jun 8, 2017 · Now, you don't need the load that default data from the resources again until player decides to reset the game. The files can still be erased by users directly. Mar 22, 2022 · They could either drop the references to old data directories if they aren’t actually used and mention the app bundle path, or just reevaluate everything and make a proper list. When you publish on iOS and Android, persistentDataPath points to a public directory on the device. See full list on sorceryforce. Mar 16, 2023 · 文章讨论了Unity3D在不同平台上的Application. net Mar 2, 2024 · Only WRITABLE data should be in the persistent data path. Files in this location are not erased by app updates. Any user-generated content or cached data (eg user or machine specific data that takes time to generate) but nothing else. The reason you don't want to load the default value again is because the value may have been changed by the player. This value is a directory path where you can store data that you want to retain between runs. iltggykpumrcuwzbsijclihuwcjmxjimcxxmxcbssjhncgwksmajupl