Class UserSettingBlockAttribute
A custom attribute for adding a section of settings to a category.
Implements
Inherited Members
Namespace: UnityEditor.SettingsManagement
Assembly: Unity.Settings.Editor.dll
Syntax
[AttributeUsage(AttributeTargets.Method)]
public sealed class UserSettingBlockAttribute : Attribute, _Attribute
Constructors
UserSettingBlockAttribute(string)
Registers a static method for a callback in the UserSettingsProvider Editor window under a category.
Declaration
public UserSettingBlockAttribute(string category)
Parameters
| Type | Name | Description |
|---|---|---|
| string | category | Specify the title of the group of settings under which this setting appears in the UI. |
Properties
category
Returns the title for the settings group. When Unity finds settings values in assemblies, it displays them in groups, organized by category.
Declaration
public string category { get; }
Property Value
| Type | Description |
|---|---|
| string | The group or category where this setting appears in the UI. |