CaptureMouse(IEventHandler)
Assigns an event handler to capture mouse events.
阅读时间1 分钟最后更新于 1 个月前
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.