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

MouseCaptureController

class in UnityEngine.Experimental.UIElements

切换到手册

描述

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

静态函数

CaptureMouse指定一个事件处理程序来捕获鼠标事件。
HasMouseCapture检查事件处理程序是否正在捕获鼠标。
IsMouseCaptured检查是否有处理程序正在捕获鼠标。
ReleaseMouse停止事件处理程序捕获鼠标。

Did you find this page useful? Please give it a rating: