Version: 5.3 (switch to 5.4b)
IdiomaEnglish
  • C#
  • JS

Idioma de script

Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.

AndroidInput

class in UnityEngine

Cambiar al Manual

Descripción

AndroidInput provides support for off-screen touch input, such as a touchpad.

Variables Estáticas

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).

Funciones Estáticas

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