25 lines
663 B
Markdown
25 lines
663 B
Markdown
#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]] |