Summary
[Editor-Only]
If the current event is a
UnityEngine.EventType.ContextClick
inside the `area`, this method builds a menu
using Weaver.InjectionAttribute.AddItemsToMenu(UnityEditor.GenericMenu)
and shows it.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- InjectionAttribute
Syntax
public void CheckContextMenu(Rect area)
Parameters
Name | Type | Description |
---|---|---|
area | Rect |
Return Value
Type | Description |
---|---|
void |