Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TouchType

Describes whether a touch is direct, indirect (or remote), or from a stylus.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.InputLegacyModule
public enum TouchType

Fields

Value

Description

DirectA direct touch on a device.
IndirectAn Indirect, or remote, touch on a device.
StylusA touch from a stylus on a device.