This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

MouseCaptureController.ReleaseMouse

Declaration

public static void ReleaseMouse(Experimental.UIElements.IEventHandler handler);

Declaration

public static void ReleaseMouse();

Parameters

handler The event handler to stop capturing the mouse. If this handler is not assigned to capturing the mouse, nothing happens.

Description

Stops an event handler from capturing the mouse.