Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CaptureMouse(IEventHandler)

Assigns an event handler to capture mouse events.
Read time 1 minuteLast updated 6 days ago

Definition

public static void CaptureMouse(this IEventHandler handler)

Parameters

The event handler that captures mouse events.

Remarks

If an event handler is already set to capture mouse events, the event handler is replaced with the handler specified by this method.