Documentation

Unity Engine

Unity Engine

MouseCaptureController

Class that manages capturing mouse events.
Read time 1 minuteLast updated 2 months ago

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.