class in UnityEngine.Experimental.UIElements
切换到手册A class holding information about the event that triggered the display of the contextual menu.
localMousePosition | 如果触发事件是鼠标事件,则此属性是鼠标位置。该位置使用接收鼠标事件的元素的坐标系表示。否则此属性为零。 |
modifiers | If modifier keys (Alt, Control, Shift, Windows/Command) were pressed to trigger the display of the contextual menu, this property lists the modifier keys. |
mousePosition | 如果触发事件是鼠标事件,则此属性是使用全局坐标系表示的鼠标位置。否则此属性为零。 |
ContextualMenu.EventInfo | 构造函数。 |