LabelFieldAttribute Class |
Namespace: Gamelogic.Extensions
[VersionAttribute(2, 5, 0)] [AttributeUsageAttribute(AttributeTargets.Field)] public class LabelFieldAttribute : PropertyAttribute
The LabelFieldAttribute type exposes the following members.
Name | Description | |
---|---|---|
LabelFieldAttribute |
Name | Description | |
---|---|---|
LabelField | ||
order | Optional field to specify the order that multiple DecorationDrawers should be drawn in. | |
TypeId | (Inherited from Attribute.) |
Name | Description | |
---|---|---|
Equals | (Inherited from Attribute.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Attribute.) | |
GetType | (Inherited from Object.) | |
IsDefaultAttribute | (Inherited from Attribute.) | |
Match | (Inherited from Attribute.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
ThrowIfNull |
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.) |
Name | Description | |
---|---|---|
_AttributeGetIDsOfNames | (Inherited from Attribute.) | |
_AttributeGetTypeInfo | (Inherited from Attribute.) | |
_AttributeGetTypeInfoCount | (Inherited from Attribute.) | |
_AttributeInvoke | (Inherited from Attribute.) |
[Serializable] public enum EnumNames { Label1, Label2 } [Serializable] public class ArrayItem { public EnumNames type; public int value; } public class LabelFieldTest : MonoBehaviour { [LabelField("type")] public ArrayItem[] items; }