InputInteractionContext
struct in UnityEngine.InputSystem · Unity.InputSystem
19 of 19 of Unity's members
In Tassix
What an interaction sees of its action and drives it with.
Properties 8
InputAction action { get; }InputControl? control { get; }bool isStarted { get; }bool isWaiting { get; }InputActionPhase phase { get; }This interaction's phase (Waiting until it starts).
double startTime { get; }double time { get; }When the change being processed happened (its event's time).
bool timerHasExpired { get; }Methods 11
void Canceled()float ComputeMagnitude()bool ControlIsActuated(float threshold = 0f)Whether the control is past threshold (or moved at all, for 0).
void Performed()Performs, then goes back to waiting.
void PerformedAndStayPerformed()void PerformedAndStayStarted()TValue ReadValue<TValue>()void SetTimeout(float seconds)Calls Process again (with timerHasExpired) once this long has passed since the change being processed.
void SetTotalTimeoutCompletionTime(float seconds)void Started()void Waiting()