Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AndroidInput

AndroidInput provides support for off-screen touch input, such as a touchpad.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.InputLegacyModule
public class AndroidInput

Static Properties

Property

Description

secondaryTouchEnabledProperty indicating whether the system provides secondary touch input.
secondaryTouchHeightProperty indicating the height of the secondary touchpad.
secondaryTouchWidthProperty indicating the width of the secondary touchpad.
touchCountSecondaryNumber of secondary touches. Guaranteed not to change throughout the frame. (Read Only).

Static Methods

Method

Description

GetSecondaryTouchReturns object representing status of a specific touch on a secondary touchpad (Does not allocate temporary variables).