Input
Declaration
public class InputProperties
| Name | Type | Summary |
|---|---|---|
| static readonly acceleration | Vector3 | - |
| static readonly accelerationEventCount | int | - |
| static readonly accelerationEvents | AccelerationEvent[] | - |
| static readonly anyKey | bool | - |
| static readonly anyKeyDown | bool | - |
| static backButtonLeavesApp | bool | - |
| static readonly compass | Compass | - |
| static compensateSensors | bool | - |
| static readonly compositionCursorPos | Vector2 | - |
| static readonly compositionString | string | - |
| static readonly deviceOrientation | DeviceOrientation | - |
| static eatKeyPressOnTextFieldFocus | bool | - |
| static readonly gyro | Gyroscope | - |
| static imeCompositionMode | IMECompositionMode | - |
| static readonly imeIsSelected | bool | - |
| static readonly inputString | string | - |
| static readonly isGyroAvailable | bool | - |
| static readonly location | LocationService | - |
| static readonly mousePosition | Vector3 | - |
| static readonly mousePresent | bool | - |
| static readonly mouseScrollDelta | Vector2 | - |
| static multiTouchEnabled | bool | - |
| static simulateMouseWithTouches | bool | - |
| static readonly stylusTouchSupported | bool | - |
| static readonly touchCount | int | - |
| static readonly touches | Touch[] | - |
| static readonly touchPressureSupported | bool | - |
| static readonly touchSupported | bool | - |
Methods
| Name | Type | Summary |
|---|---|---|
| static GetAccelerationEvent | AccelerationEvent | - |
| static GetAxis | float | - |
| static GetAxisRaw | float | - |
| static GetButton | bool | - |
| static GetButtonDown | bool | - |
| static GetButtonUp | bool | - |
| static GetJoystickNames | string[] | - |
| static GetKey | bool | - |
| static GetKeyDown | bool | - |
| static GetKeyUp | bool | - |
| static GetMouseButton | bool | - |
| static GetMouseButtonDown | bool | - |
| static GetMouseButtonUp | bool | - |
| static GetTouch | Touch | - |
| static ResetInputAxes | void | - |