Namespace UnityEditor.SettingsManagement
Classes
FileSettingsRepository
Represents a settings repository that stores data serialized to a JSON file.
PackageSettingsRepository
A settings repository that stores data local to a Unity project relative to a package. The settings data is serialized to a JSON file.
ProjectUserSettings
Represents a settings repository that stores data local to a Unity project. The settings data is serialized to a JSON file.
Settings
Represents a collection of objects that implement ISettingsRepository.
SettingsGUILayout
Provides extension methods for GUILayout that also implement settings-specific functionality.
SettingsGUILayout.IndentedGroup
Provides methods for creating and managing indented GUI sections.
SettingsKeyAttribute
A custom attribute for registering a field with Settings, but without automatically creating a property field in the SettingsProvider. Unlike UserSettingAttribute, this attribute is valid for instance properties as well as static. These values don't appear in the SettingsProvider. Unity clears their stored values when "Reset All" is invoked.
UserSettingAttribute
A custom attribute for registering a static field of type IUserSetting for the UserSettingsProvider window.
UserSettingBlockAttribute
A custom attribute for adding a section of settings to a category.
UserSetting<T>
A generic implementation of IUserSetting to use with a Settings instance. This default implementation assumes that the Settings instance contains two ISettingsRepository interfaces:
UserSettingsProvider
A SettingsProvider implementation that creates an interface from settings reflected from a collection of assemblies.
UserSettingsRepository
Represents a settings repository for user preferences.
Interfaces
ISettingsRepository
An interface that represents a settings repository, which is responsible for implementing the saving and loading of values.
IUserSetting
An interface that represents a user setting. Types implementing IUserSetting are eligible for use with UserSettingAttribute, which enables fields to automatically populate the UserSettingsProvider interface.