AndroidInput
Provides support for off-screen touch input, such as a touchpad.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.InputLegacyModule
public class AndroidInput
Static Properties
Property | Description |
|---|---|
| secondaryTouchEnabled | Indicates whether the system provides secondary touch input. |
| secondaryTouchHeight | Indicates the height of the secondary touchpad. |
| secondaryTouchWidth | Indicates the width of the secondary touchpad. |
| touchCountSecondary | Number of secondary touches. Guaranteed not to change throughout the frame (Read Only). |
Static Methods
Method | Description |
|---|---|
| GetSecondaryTouch | Returns an object representing the status of a specific touch on a secondary touchpad (doesn't allocate temporary variables). |