We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25a5632 commit 20c72a9Copy full SHA for 20c72a9
Packages/com.unity.inputsystem/Tests/TestFixture/InputTestFixture.cs
@@ -800,7 +800,7 @@ public void Trigger(InputAction action)
800
var values = Enum.GetValues(typeof(TouchPhase));
801
var index = Array.IndexOf(values, phase);
802
var newIndex = (index + 1) % values.Length;
803
- Set(touchPhaseControl, phase);
+ Set(touchPhaseControl, (TouchPhase)values.GetValue(newIndex));
804
805
return;
806
}
0 commit comments