obsidian/笔记文件/2.笔记/windows unity的 PlayerPrefs 本地化持久 存放位置.md

25 lines
663 B
Markdown
Raw Permalink Normal View History

2025-03-26 00:02:56 +08:00
#unity/日常积累
unity的本地化持久就算把工程重置了也还是会存在是因为PlayerPrefs相关会写入到注册表
先确认一下工程Bundle相关信息
![[Pasted image 20241106181119.png]]
举例说明:
![[Pasted image 20241106181717.png]]
打开注册表Win+R → regedit
``` shell
计算机\HKEY_CURRENT_USER\SOFTWARE
```
因为是Unity编辑器所以在`UnityEditor`子目录继续跟着Bundle信息索引相关就可以找到对应的PlayerPrefs存储信息了
![[Pasted image 20241106181804.png]]
删掉,原本存储的,本地化持久,就没有了
![[Pasted image 20241106181927.png]]