Summary
[Editor-Only] [Pro-Only] A custom drawer for fields with a
InspectorGadgets.Attributes.ShowPreviewAttribute
.- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor .PropertyDrawers - Base Types
-
- PropertyDrawer
- ObjectDrawer
graph BT
Type-->Base0["ObjectDrawer"]
click Base0 "/inspector-gadgets/api/InspectorGadgets.Editor.PropertyDrawers/ObjectDrawer"
Base0-->Base1["PropertyDrawer"]
Type["ShowPreviewAttributeDrawer"]
class Type type-node
Syntax
[CustomPropertyDrawer(typeof(ShowPreviewAttribute))]
public sealed class ShowPreviewAttributeDrawer : 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 |