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
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
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:
- Project settings (
) - User preferences (
)
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.
UserSettingsProvider
A
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.