Skip to content

Commit 9bec99d

Browse files
committed
fixed switched logic
1 parent 65000be commit 9bec99d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Packages/com.unity.inputsystem/InputSystem/Editor/InputSystemPluginControl.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ static bool BuildTargetNeedsPlugin()
4747
BuildTarget target = EditorUserBuildSettings.activeBuildTarget;
4848
foreach (var platform in TargetNoPluginNeeded)
4949
{
50-
if (platform == target) return true;
50+
if (platform == target) return false;
5151
}
52-
return false;
52+
return true;
5353
}
5454

5555
private const string PlugInName = "com.unity.inputsystem.";

0 commit comments

Comments
 (0)