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 d94030d commit e2778c9Copy full SHA for e2778c9
Assets/Samples/Visualizers/InputControlVisualizer.cs
@@ -154,7 +154,7 @@ private static InputControl ResolveCurrentControl(InputControlList<InputControl>
154
// Only accept control that belongs to the current device of the same device type as candidate control device type.
155
foreach (var candidate in candidates)
156
{
157
- if (candidate.device == GetCurrentDevice(candidate.device)) ;
+ if (candidate.device == GetCurrentDevice(candidate.device))
158
159
return candidate;
160
}
0 commit comments