Scripting API

HoldInteraction

class in UnityEngine.InputSystem.Interactions · Unity.InputSystem

5 of 5 of Unity's members
In Tassix

Starts on press, performs once held for the duration (on a change or the timeout), cancels on release.

Fields 2

float duration
float pressPoint

Methods 2

void Process(ref InputInteractionContext context)
void Reset()