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

MouseCaptureController

class in UnityEngine.Experimental.UIElements

切换到手册

描述

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

静态函数

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