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

ContextualMenuManager

class in UnityEngine.Experimental.UIElements

切换到手册

描述

使用此类可显示上下文菜单。

公共函数

DisplayMenu显示上下文菜单。
DisplayMenuIfEventMatches检查事件是否触发上下文菜单显示。此方法还显示菜单。