This version of Unity is unsupported.

ContextualMenuManager

class in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Use this class to display a contextual menu.

Public Methods

DisplayMenu Displays the contextual menu.
DisplayMenuIfEventMatches Checks if the event triggers the display of the contextual menu. This method also displays the menu.

Protected Methods

DoDisplayMenu Displays the contextual menu.