Namespace UnityEditor.SettingsManagement | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Namespace UnityEditor.SettingsManagement

    Classes

    ProjectSettingsRepository

    A settings repository that stores data to a JSON file.

    Settings

    The Settings class is provides an interface for getting and setting preference values. It manages the available ISettingsRepository instances.

    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.

    UserSetting<T>

    A generic implementation of IUserSetting.

    UserSettingAttribute

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

    UserSettingBlockAttribute

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

    UserSettingsProvider

    A 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.

    Enums

    SettingsScope

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023