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

ContextualMenuManipulator

class in UnityEngine.Experimental.UIElements

/

继承自:Experimental.UIElements.Manipulator

切换到手册

描述

Manipulator that displays a contextual menu when the user clicks the right mouse button or presses the menu key on the keyboard.

构造函数

ContextualMenuManipulator构造函数。

受保护的函数

RegisterCallbacksOnTargetRegister the event callbacks on the manipulator target.
UnregisterCallbacksFromTargetUnregister the event callbacks from the manipulator target.

继承的成员

变量

targetThe element that handles the interaction.