This version of Unity is unsupported.

PointerType

class in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

A static class that holds pointer type values.

These values are used as the values for IPointerEvent.pointerType.

Static Properties

mouseThe pointer type for mouse events.
penThe pointer type for pen events.
touchThe pointer type for touch events.
unknownThe pointer type for events created by unknown devices.