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

ContextualMenuManager

class in UnityEngine.Experimental.UIElements

Switch to Manual

Description

Use this class to display a contextual menu.

Public Functions

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