CaptureMouse(IEventHandler)
Assigns an event handler to capture mouse events.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static void CaptureMouse(this IEventHandler handler)
Parameters
The event handler that captures mouse events.
Remarks
If an event handler is already set to capture mouse events, the event handler is replaced with the handler specified by this method.