Skip to content

Commit 7f0641d

Browse files
committed
feat(Tracking): only show warning message when input system not enabled
The debug warning message was being shown in the velocity tracker only when the input system was enabled, whereas it should only be shown when the input system is disabled.
1 parent 821de05 commit 7f0641d

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Runtime/SharedResources/Scripts/Tracking/Velocity/InputActionPropertyVelocityTracker.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ protected virtual void OnEnable()
9393
#if ENABLE_INPUT_SYSTEM
9494
BindVelocityActions();
9595
BindAngularVelocityActions();
96-
Debug.LogWarning("The Unity Input System is disabled in the player settings or not available to this Unity version.");
9796
#else
98-
97+
Debug.LogWarning("The Unity Input System is disabled in the player settings or not available to this Unity version.");
9998
#endif
10099
}
101100

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"dependencies": {
3535
"io.extendreality.zinnia.unity": "2.7.0",
36-
"com.unity.inputsystem": "1.0.2"
36+
"com.unity.inputsystem": "1.5.0"
3737
},
3838
"samples": [
3939
{

0 commit comments

Comments
 (0)