Documentation

Unity Engine

Unity Engine

CaptureMouse(IEventHandler)

Assigns an event handler to capture mouse events.
Read time 1 minuteLast updated 2 months 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.