ContextualMenuManipulator
Manipulator that displays a contextual menu when the user clicks the right mouse button or presses the menu key on the keyboard.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: PointerManipulator
- Implements: IManipulator
public class ContextualMenuManipulator : PointerManipulator, IManipulator
Constructors
Constructor | Description |
|---|---|
| ContextualMenuManipulator(System.Action{UnityEngine.UIElements.ContextualMenuPopulateEvent}) | Constructor. |
Methods
Method | Description |
|---|---|
| IsOSXContextualMenuPlatform | Check whether the handling of contextual menu events needs to be adapted for OSX. |
| RegisterCallbacksOnTarget | Register the event callbacks on the manipulator target. |
| UnregisterCallbacksFromTarget | Unregister the event callbacks from the manipulator target. |