Input.GetTouchstatic function GetTouch (index : int) : TouchDescriptionReturns object representing status of a specific touch. (Does not allocate temporary variables)
JavaScript
// Moves object according to finger movement on the screen using UnityEngine; import UnityEngine Another Example:
JavaScript
// Instantiates a projectile whenever the user taps on the screen using UnityEngine; import UnityEngine
JavaScript
// Shoot a ray whenever the user taps on the screen using UnityEngine; import UnityEngine |
