Namespace UnityEditor.SettingsManagement | Settings Manager | 1.0.1
docs.unity.cn
    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.

    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 and one for .

    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.

    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX