文档

Unity Engine

Download Unity

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.
阅读时间1 分钟最后更新于 1 个月前

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.