Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IgnoreEvent(EventBase)

Instructs the FocusController to ignore the given event. This will prevent the event from changing the current focused VisualElement or triggering focus events.
Read time 1 minuteLast updated 10 days ago

Definition

public void IgnoreEvent(EventBase evt)

Parameters

The event to be ignored.

Remarks

In general this will have no effect if the event is not a PointerDownEvent, MouseDownEvent, or NavigationMoveEvent.