文档

Unity Engine

Unity Engine

ShowItemContextualMenu(SearchItem, Rect)

Shows a contextual menu for the specified item.
阅读时间1 分钟最后更新于 1 个月前

Definition

void ShowItemContextualMenu(SearchItem item, Rect contextualActionPosition)

Parameters

Item affected by the contextual menu.

contextualActionPosition

The position that a menu should be drawn on screen (generally item position).