Unity PlayerPrefs.DeleteAll 无效以及 PlayerPrefs文件保存位置
2015-04-02 14:45
836 查看
DeleteAll 无效
检查下 设置的 公司名称 和项目名称 是否是中午!!!!!改成英文即可
各平台保存路径
On Mac OS X PlayerPrefs are stored in ~/Library/Preferences folder, in a file named unity.[company name].[product name].plist, where company
and product names are the names set up in Project Settings. The same .plist file is used for both Projects run in the Editor and standalone players.
On Windows, PlayerPrefs are stored in the registry under HKCU\Software\[company name]\[product name] key, where company and product names are
the names set up in Project Settings.
On Linux, PlayerPrefs can be found in ~/.config/unity3d/[CompanyName]/[ProductName] again using the company and product names specified in
the Project Settings.
On Windows Store Apps, Player Prefs can be found in %userprofile%\AppData\Local\Packages\[ProductPackageId]>\LocalState\playerprefs.dat
On Windows Phone 8, Player Prefs can be found in application's local folder, See Also: Windows.Directory.localFolder
WebPlayer
On Web players, PlayerPrefs are stored in binary files in the following locations:
Mac OS X: ~/Library/Preferences/Unity/WebPlayerPrefs
Windows: %APPDATA%\Unity\WebPlayerPrefs
公司名,项目名必须为英文,否则删除还是不管用
参考
http://docs.unity3d.com/ScriptReference/PlayerPrefs.html
检查下 设置的 公司名称 和项目名称 是否是中午!!!!!改成英文即可
各平台保存路径
On Mac OS X PlayerPrefs are stored in ~/Library/Preferences folder, in a file named unity.[company name].[product name].plist, where company
and product names are the names set up in Project Settings. The same .plist file is used for both Projects run in the Editor and standalone players.
On Windows, PlayerPrefs are stored in the registry under HKCU\Software\[company name]\[product name] key, where company and product names are
the names set up in Project Settings.
On Linux, PlayerPrefs can be found in ~/.config/unity3d/[CompanyName]/[ProductName] again using the company and product names specified in
the Project Settings.
On Windows Store Apps, Player Prefs can be found in %userprofile%\AppData\Local\Packages\[ProductPackageId]>\LocalState\playerprefs.dat
On Windows Phone 8, Player Prefs can be found in application's local folder, See Also: Windows.Directory.localFolder
WebPlayer
On Web players, PlayerPrefs are stored in binary files in the following locations:
Mac OS X: ~/Library/Preferences/Unity/WebPlayerPrefs
Windows: %APPDATA%\Unity\WebPlayerPrefs
公司名,项目名必须为英文,否则删除还是不管用
参考
http://docs.unity3d.com/ScriptReference/PlayerPrefs.html
相关文章推荐
- 【unity3d】PlayerPrefs.DeleteAll调用无效解决方法
- Unity PlayerPrefs 保存本地持久化数据
- Unity退出后保存数据,PlayerPrefs 玩家偏好
- (8)unity入门,玩家信息保存PlayerPrefs、IO、数据字典
- Unity 3d 保存玩家数据到本地之PlayerPrefs, C#封装
- PlayerPrefs 位置 unity
- unity中的playerprefs数据会随打包一同带走吗?
- Unity 3D--PlayerPrefs
- unity关于程序获得lightmap,光照贴图以及对应的所在光照贴图的位置
- paip.Adblock屏蔽规则保存位置以及修理恢复
- Unity设置发布程序运行时候位置以及窗体大小
- 对于PlayerPrefs学习以及存储的研究
- MATLAB boxplot 字体位置调整以及图片保存问题
- Unity各类数据库的基本操作(五)-- PlayerPrefs
- 照相机捕获照片保存大小以及保存位置的问题
- unity-unet-设置player的开始位置
- Unity实现排行榜(PlayerPrefs)
- Unity PlayerPrefs类进行扩展(整个对象进行保存)
- paip.Adblock屏蔽规则保存位置以及修理恢复
- 借助TinyXml,C++实现Unity的PlayerPrefs 功能