ShowItemContextualMenu(SearchItem, Rect)
Shows a contextual menu for the specified item.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
void ShowItemContextualMenu(SearchItem item, Rect contextualActionPosition)
Parameters
Item affected by the contextual menu.
The position that a menu should be drawn on screen (generally item position).