Class UserSettingsProvider | Settings Manager | 1.0.1
docs.unity.cn
    Show / Hide Table of Contents

    Class UserSettingsProvider

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

    Inheritance
    Object
    UserSettingsProvider
    Namespace: UnityEditor.SettingsManagement
    Syntax
    public sealed class UserSettingsProvider

    Constructors

    UserSettingsProvider(Settings, Assembly[])

    Create a new UserSettingsProvider.

    Declaration
    public UserSettingsProvider(Settings settings, Assembly[] assemblies)
    Parameters
    Type Name Description
    Settings settings

    The Settings instance that this provider is inspecting.

    Assembly[] assemblies

    A collection of assemblies to scan for UserSettingAttribute and UserSettingBlockAttribute attributes.

    Fields

    developerModeCategory

    Declaration
    public const string developerModeCategory = "Developer Mode"
    Field Value
    Type Description
    String

    Methods

    OnGUI(String)

    Invoked by the Settings editor.

    Declaration
    public void OnGUI(string searchContext)
    Parameters
    Type Name Description
    String searchContext

    A string containing the contents of the search bar.

    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX