This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

ContextualMenuManager

class in UnityEngine.Experimental.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Use this class to display a contextual menu.

Public Methods

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