Scripting API

TouchControl

class in UnityEngine.InputSystem.Controls · Unity.InputSystem · inherits from InputControl<TouchState>

15 of 18 of Unity's members
In Tassix

A touch: its id, position, movement, phase and taps.

Constructors 1

Properties 14

DeltaControl delta { get; set; }
IntegerControl displayIndex { get; set; }
ButtonControl indirectTouch { get; set; }
bool isInProgress { get; }
TouchPhaseControl phase { get; set; }
Vector2Control position { get; set; }
TouchPressControl press { get; set; }
AxisControl pressure { get; set; }
Vector2Control radius { get; set; }
Vector2Control startPosition { get; set; }
DoubleControl startTime { get; set; }
ButtonControl tap { get; set; }
IntegerControl tapCount { get; set; }
IntegerControl touchId { get; set; }

Methods 2

float EvaluateMagnitude()
TouchState ReadValue()

Not in Tassix yet 3

FinishSetup ReadUnprocessedValueFromState WriteValueIntoState