Class CapabilitiesAttribute
Attribute used to indicate the OptionCapabilities of an Option subclass.
Inheritance
System.Object
System.Attribute
CapabilitiesAttribute
Implements
System.Runtime.InteropServices._Attribute
Namespace: sttz.Trimmer
Assembly: Trimmer.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
[Conditional("UNITY_EDITOR")]
public class CapabilitiesAttribute : Attribute, _Attribute
Remarks
If no attribute is applied, an Option has the PresetDefault capabilities.
Note
The Capabilities attribute is only valid on the main Option, all child and variant Options will inherit the capabilities from the main Option.
Constructors
| Improve this Doc View SourceCapabilitiesAttribute(OptionCapabilities)
Declaration
public CapabilitiesAttribute(OptionCapabilities caps)
Parameters
Type | Name | Description |
---|---|---|
OptionCapabilities | caps |
Properties
| Improve this Doc View SourceCapabilities
Declaration
public OptionCapabilities Capabilities { get; protected set; }
Property Value
Type | Description |
---|---|
OptionCapabilities |
Implements
System.Runtime.InteropServices._Attribute