From bb7cf00cf173cf0ce8589e03a2662cf72a27e1d4 Mon Sep 17 00:00:00 2001 From: Mario Gutierrez Date: Tue, 15 Oct 2024 17:36:52 +0100 Subject: [PATCH] No need to check isBrush flag: if stylus is active, it is brush --- Assets/Scripts/Input/UnityXRControllerInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Input/UnityXRControllerInfo.cs b/Assets/Scripts/Input/UnityXRControllerInfo.cs index 3d7707137b..cf114bf029 100644 --- a/Assets/Scripts/Input/UnityXRControllerInfo.cs +++ b/Assets/Scripts/Input/UnityXRControllerInfo.cs @@ -133,7 +133,7 @@ public override void Update() private bool IsStylusActive() { - return stylusState.isActive && isBrush; + return stylusState.isActive; } public override Vector2 GetPadValueDelta()