BaseInspectableAttributeDrawer.

CheckContextMenu(Rect, Object[]) Method

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.

Syntax

protected void CheckContextMenu(Rect area, Object[] targets)

Parameters

Name Type Description
area Rect
targets Object[]

Return Value

Type Description
void