Get touch screen purse

broken image

The Touch struct is used by Unity to store data relating to a single touch instance and is returned by the Input.GetTouch function. Cancelled - The touch was interrupted this frame.Ended - A user lifted their finger from the screen this frame.Moved - A user moved their finger this frame.Stationary - A finger is on the screen but the user has not moved it this frame.Began - A user has touched their finger to the screen this frame.The touch lifecycle describes the state of a touch in any given frame: Furthermore, the continuity of a touch between frame updates can be detected by the device, so a consistent ID number can be reported across frames and used to determine how a particular finger is moving. Devices can track a number of different pieces of data about a touch on a touchscreen, including its phase of the touch lifecycle, its position and whether the touch was a single contact or several taps.

broken image