Summary
[Editor-Only] [Pro-Only] A custom drawer for fields with a
InspectorGadgets.Attributes.ColorAttribute
.- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor .PropertyDrawers - Base Types
-
- PropertyDrawer
- ObjectDrawer
Syntax
[UnityEditor.CustomPropertyDrawer(typeof(ColorAttribute))]
public sealed class ColorAttributeDrawer : ObjectDrawer
Attributes
Type | Description |
---|---|
CustomPropertyDrawer |
Fields
Name | Constant Value | Summary |
---|---|---|
AlwaysShowGet |
Should the get button always be visible?
Inherited from ObjectDrawer
static
|
|
Italicise |
Should references to components on the same object be italicised?
Inherited from ObjectDrawer
static
|
|
Object |
The number of nesting levels allowed.
Inherited from ObjectDrawer
static
|
Methods
Name | Value | Summary |
---|---|---|
GetPropertyHeight |
float | |
OnGUI |
void |