Summary
[Editor-Only] [Pro-Only] A custom drawer for
InspectorGadgets.Attributes.BaseInspectableAttribute
.- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor .PropertyDrawers - Interfaces
-
- IComparable
<Base Inspectable >Attribute Drawer
- IComparable
- Base Types
graph BT
Type-->Base0["BaseInspectableAttributeDrawer"]
click Base0 "/inspector-gadgets/api/InspectorGadgets.Editor.PropertyDrawers/BaseInspectableAttributeDrawer"
Base0-->Base1["Object"]
Type-.->Interface0["IComparable<BaseInspectableAttributeDrawer>"]
Type["BaseInspectableAttributeDrawer<T>"]
class Type type-node
Syntax
public abstract class BaseInspectableAttributeDrawer<T> : BaseInspectableAttributeDrawer,
IComparable<BaseInspectableAttributeDrawer>
where T : BaseInspectableAttribute
Type Parameters
Name | Description |
---|---|
T |
Properties
Name | Value | Summary |
---|---|---|
Attribute | T |
The attribute being drawn.
|
BaseAttribute | Base |
The attribute being drawn.
Inherited from Base
|
DisplayIndex | int |
InspectorGadgets.Attributes.BaseInspectableAttribute.DisplayIndex Inherited from Base
|
LabelStyle | GUIStyle |
A style based on the default label with the font set to italic.
Inherited from Base
static
|
Member | MemberInfo |
The attributed member.
Inherited from Base
|
When | EditorState |
InspectorGadgets.Attributes.BaseInspectableAttribute.When Inherited from Base
|
Methods
Name | Value | Summary |
---|---|---|
CheckContextMenu |
void |
If
UnityEngine.Event.current is a Context Click within the `area`, this method creates a menu, calls
InspectorGadgets.Editor.PropertyDrawers.BaseInspectableAttributeDrawer.PopulateContextMenu(UnityEditor.GenericMenu,UnityEngine.Object[]) , and shows it as a context menu.
Inherited from Base
|
CompareTo |
int |
Compares the
InspectorGadgets.Editor.PropertyDrawers.BaseInspectableAttributeDrawer.BaseAttribute s.Inherited from Base
|
Initialize |
string |
Initializes this drawer.
Inherited from Base
|
OnGUI |
void |
Draws this inspectable using
UnityEngine.GUILayout .Inherited from Base
|
PopulateContextMenu |
void |
Adds various items to the `menu` relating to the `targets`.
Inherited from Base
|
PrefixLabel |
Rect |
Draws a label like
UnityEditor.EditorGUILayout.PrefixLabel(System.String) but doesn't get greyed out
if the GUI is disabled for the following control.
Inherited from Base
static
|