Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ReleaseMouse

Stops an event handler from capturing the mouse.
Read time 1 minuteLast updated 12 days ago

Definition

ReleaseMouse(IEventHandler)

Stops an event handler from capturing the mouse.
public static void ReleaseMouse(this IEventHandler handler)

Parameters

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

ReleaseMouse()

Stops an event handler from capturing the mouse.
public static void ReleaseMouse()