ContextClickEvent
The event sent when clicking the right mouse button.
Read time 2 minutesLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: MouseEventBase<ContextClickEvent>
- Implements: IDisposable, IMouseEvent
public class ContextClickEvent : MouseEventBase<ContextClickEvent>, IDisposable, IMouseEvent
Constructors
Constructor | Description |
|---|---|
| ContextClickEvent() | Constructor. Use GetPooled() to get an event from a pool of reusable events. |
Methods
Method | Description |
|---|---|
| Init | Resets the event members to their initial values. |