Experimental: this API is experimental and might be changed or removed in the future.

MouseCaptureController

class in UnityEngine.Experimental.UIElements

Switch to Manual

Description

用于管理鼠标事件捕获的类。

Static Functions

CaptureMouseAssigns an event handler to capture mouse events.
HasMouseCapture检查事件处理程序是否正在捕获鼠标。
IsMouseCapturedChecks if there is a handler capturing the mouse.
ReleaseMouse停止事件处理程序捕获鼠标。