MouseCaptureController
Class that manages capturing mouse events.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static class MouseCaptureController
Static Methods
Method | Description |
|---|---|
| CaptureMouse | Assigns an event handler to capture mouse events. |
| HasMouseCapture | Checks if the event handler is capturing the mouse. |
| IsMouseCaptured | Checks if there is a handler capturing the mouse. |
| ReleaseMouse | Stops an event handler from capturing the mouse. |