Class UserSettingAttribute
Register a static field of type IUserSetting with the UserSettingsProvider window.
Implements
Inherited Members
Namespace: UnityEditor .SettingsManagement
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public sealed class UserSettingAttribute : Attribute, _Attribute
Constructors
Name | Description |
---|---|
User |
Register a static field as a setting. Field must be of a type implementing IUserSetting. |
User |
Register a static field as a setting and create an entry in the UI. Field must be of a type implementing IUserSetting. |
Properties
Name | Description |
---|---|
category | Settings that are automatically scraped from assemblies are displayed in groups, organized by category. |
title | |
visible |