Class UserSettingsProvider
A
Namespace: UnityEditor.SettingsManagement
Syntax
public sealed class UserSettingsProvider : object
Constructors
UserSettingsProvider(Settings, Assembly[])
Initializes and returns a new UserSettingsProvider instance.
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
Category string constant to check whether Unity is running in developer (internal) mode.
Declaration
public const string developerModeCategory = null
Field Value
| Type | Description |
|---|---|
| String |
Methods
OnGUI(String)
Called when the Settings window opens in the Editor.
Declaration
public void OnGUI(string searchContext)
Parameters
| Type | Name | Description |
|---|---|---|
| String | searchContext | Search context in the search box on the Settings window. |