文档

Unity Engine


User Manual

Script Reference

Unity Engine


MouseCaptureController

Class that manages capturing mouse events.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static class MouseCaptureController

Static Methods

Method

Description

CaptureMouseAssigns an event handler to capture mouse events.
HasMouseCaptureChecks if the event handler is capturing the mouse.
IsMouseCapturedChecks if there is a handler capturing the mouse.
ReleaseMouseStops an event handler from capturing the mouse.