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 ca30bcb commit e125393Copy full SHA for e125393
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