Class SettingFieldAttribute
This attribute will cause a field, property or function to show up in the Weaver Settings Screen
Implements
Inherited Members
Namespace: WeaverCore.Settings
Assembly: WeaverCore.dll
Syntax
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class SettingFieldAttribute : SettingFieldAttribute_BASE, _Attribute
Constructors
| Edit this page View SourceSettingFieldAttribute(EnabledType, string)
Applied to a field, property, or function to determine whether it should be shown in the settings menu
Declaration
public SettingFieldAttribute(EnabledType enabled = EnabledType.AlwaysVisible, string displayName = null)
Parameters
Type | Name | Description |
---|---|---|
EnabledType | enabled | Determines in what scenario should the field be visible in |
string | displayName | The display name of the field, property, or function |