docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace UnityEditor.SettingsManagement

    Classes

    PackageSettingsRepository

    A settings repository that stores data local to a Unity project.

    Settings

    Settings manages a collection of ISettingsRepository.

    SettingsGUILayout

    Extension methods for GUILayout that also implement settings-specific functionality.

    SettingsGUILayout.IndentedGroup

    Create an indented GUI section.

    SettingsKeyAttribute

    Register a field with Settings, but do not automatically create a property field in the SettingsProvider. Unlike UserSettingAttribute, this attribute is valid for instance properties as well as static. These values will not be shown in the SettingsProvider, but will have their stored values cleared when "Reset All" is invoked.

    UserSettingAttribute

    Register a static field of type IUserSetting with the UserSettingsProvider window.

    UserSettingBlockAttribute

    UserSettingBlock allows you add a section of settings to a category.

    UserSetting<T>

    A generic implementation of IUserSetting to be used with a Settings instance. This default implementation assumes the Settings instance contains two ISettingsRepository, one for Project and one for User.

    UserSettingsProvider

    A SettingsProvider implementation that creates an interface from settings reflected from a collection of assemblies.

    UserSettingsRepository

    A settings repository backed by the UnityEditor.EditorPrefs class.

    Interfaces

    ISettingsRepository

    A settings repository is responsible for implementing the saving and loading of values.

    IUserSetting

    Types implementing IUserSetting are eligible for use with UserSettingAttribute, which enables fields to automatically populate the UserSettingsProvider interface.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)