Skip to main content

PlayerPrefsInspector

8 tools in this family (folder Editor/Tools/PlayerPrefsInspector/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
prefs_deletewritesDelete one PlayerPrefs key. Reports whether the key existed before the delete.
prefs_delete_all_confirmeddestructiveWipe EVERY PlayerPrefs key for the current Application.companyName /
prefs_export_to_jsonwritesSnapshot every PlayerPrefs key to a JSON file at output_path. The file
prefs_getread-onlyRead one PlayerPrefs key. Returns {key, value, type} on hit, or
prefs_import_from_jsonwritesRestore PlayerPrefs from a JSON snapshot produced by prefs_export_to_json.
prefs_list_allread-onlyEnumerate every PlayerPrefs key for the current Application.companyName /
prefs_migrate_keyswritesApply a list of regex-based rename rules to PlayerPrefs keys. Each rule is
prefs_setwritesWrite one PlayerPrefs key. type must be int|float|string (the only types