StaticeditorThe built-in editor specific user settings.
To create custom, cloud-persisted and shared project settings. Use APIs such as UserProjectSettings.setString and UserProjectSettings.setObject. Once the setting was changed, invoke UserProjectSettings.save to persist the changes. The settings are cloud synchronized, make sure to minimize changes to avoid conflicts for other users.
StaticsettingsAn unsynchronized field that is used as a marker to determine if the settings were created during sync.
StaticgetStaticgetStaticgetStaticgetGets the object value of the specified key, or the defaultValue if the key cannot be found.
If no defaultValue is specified, a default constructed instance will be returned.
Value of the property if it exists and matches the type, the defaultValue or a default constructed instance.
StaticgetStaticloadLoads the specified user resource.
StaticmarkStaticonStaticresetStaticsaveSaves the project settings to disk.
Prefer markDirtyForAutoSave to allow multiple changes to occur before saving to avoid frequent saves and version changes.
StaticsearchSearches for the UserProjectSettings for the current user.
StaticsetStaticsetStaticsetStaticsetSets the object value for the specified key.
Any object marked with serializedObject decorator can be provided, excluding built-in types such as Component and Resource.
StaticsetStatic ReadonlyonInvoked when the settings have been loaded.
Static ReadonlyonInvoked when the settings are being unloaded.
Static ReadonlyonInvoked when the settings have been saved.
Static ReadonlyonInvoked when the editorUserMode property changed.
Static ReadonlyonInvoked when settings changed.
The UserProjectSettings managed per-user project settings. The settings are cloud synchronized and potentially accessible by other users. Sensitive data should not be stored unencrypted in the settings.
Note
To create custom, cloud-persisted and user settings. Use APIs such as UserProjectSettings.setString and UserProjectSettings.setObject. Once the setting has changed, invoke UserProjectSettings.save.