Summary
[Pro-Only]
Causes the attributed field to be drawn in a specific color.
- Assembly
- Kybernetik
.InspectorGadgets .dll - Namespace
- InspectorGadgets
.Attributes - Base Types
-
- PropertyAttribute
graph BT
Type-->Base0["PropertyAttribute"]
Type["ColorAttribute"]
class Type type-node
Syntax
[System.Diagnostics.Conditional("UNITY_EDITOR")]
public sealed class ColorAttribute : PropertyAttribute
Attributes
Type | Description |
---|---|
ConditionalAttribute |
Constructors
Name | Summary |
---|---|
ColorAttribute |
Initializes the InspectorGadgets.Attributes.ColorAttribute.Color with the specified red, green, and blue values. |
ColorAttribute |
Initializes the color using the property with the specified `colorName`. You can specify a full name in the
form "TypeName.StaticProperty" or "TypeName.StaticField", or you can just specify the name of a property in
the UnityEngine.Color class such as "red".
|
Fields
Name | Constant Value | Summary |
---|---|---|
Color |
The color to use.
|