Experimental: this API is experimental and might be changed or removed in the future.

ContextualMenuManager

class in UnityEngine.Experimental.UIElements

切换到手册

描述

Use this class to display a contextual menu.

公共函数

DisplayMenuDisplays the contextual menu.
DisplayMenuIfEventMatchesChecks if the event triggers the display of the contextual menu. This method also displays the menu.