From 48fcbdde611ace3f327dcf4bb8aac7c8bcdc106a Mon Sep 17 00:00:00 2001 From: JosepMariaPujol Date: Wed, 7 Jan 2026 10:51:38 +0100 Subject: [PATCH] Fixing documentation bug for TapInteraction The interaction requires the control to be released within the timeout (the code uses <= durationOrDefault and cancels on timer expiry), so the comment should say "at most" / "within". --- .../InputSystem/Actions/Interactions/TapInteraction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/InputSystem/Actions/Interactions/TapInteraction.cs b/Packages/com.unity.inputsystem/InputSystem/Actions/Interactions/TapInteraction.cs index 55d1ea856e..9fea108006 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Actions/Interactions/TapInteraction.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Actions/Interactions/TapInteraction.cs @@ -9,7 +9,7 @@ namespace UnityEngine.InputSystem.Interactions { /// - /// Performs the action if the control is pressed held for at least the set + /// Performs the action if the control is pressed and released within the set /// duration (which defaults to ) /// and then released. ///