We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05aed76 commit 848b486Copy full SHA for 848b486
1 file changed
Assets/Tests/InputSystem/CoreTests_Actions.cs
@@ -12504,8 +12504,11 @@ public void Actions_ImprovedShortcutSupport_ConsumesWASD(bool shortcutsEnabled)
12504
.With("Left", "<Keyboard>/a")
12505
.With("Right", "<Keyboard>/d");
12506
12507
- // Change test to use Priority.
12508
- action1.Priority = 1;
+ if (shortcutsEnabled)
+ {
12509
+ // Change test to use Priority.
12510
+ action1.Priority = 1;
12511
+ }
12512
12513
var map2 = new InputActionMap("map2");
12514
var action2 = map2.AddAction(name: "action2");
0 commit comments