Summary
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.
- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor .PropertyDrawers - Containing Type
- Base
Inspectable Attribute Drawer
Syntax
protected void CheckContextMenu(Rect area, Object[] targets)
Parameters
| Name | Type | Description |
|---|---|---|
| area | Rect | |
| targets | Object[] |
Return Value
| Type | Description |
|---|---|
| void |