FREE TRIAL

|

☀
☾
class

GestureRecognizer

Inherits from UnityEngine.MonoBehaviour

An abstract base class for gesture/interaction receiver components

Fields

ClickBehavior

Determines when this component should trigger click events.

DragThreshold

The threshold that must be surpassed to initiate a drag event.

LowAccuracyDragThreshold

The threshold that must be surpassed to initiate a drag event with a less physically stable input device.

Navigation

Defines a NavLink per axis-aligned direction.

ObstructDrags

When ObstructDrags == true, drag gestures will not be routed to content behind the attached UIBlock.
When false, content behind the attached UIBlock can receive drag gestures if it is draggable in a direction this component is not.

Properties

AutoSelect

Determines if this component should automatically be selected whenever it's navigated to.

Navigable

Is this component navigable?

OnSelect

Determines how this component should handle select events.

UIBlock

The attached UIBlock receiving the interaction events, Receiver

☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC