Skip to content

Commit 240dd15

Browse files
committed
fix formatting
1 parent f086f66 commit 240dd15

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,17 @@ private static bool IsPluginInstalled()
4646
var registeredPackages = UnityEditor.PackageManager.PackageInfo.GetAllRegisteredPackages();
4747
foreach (var package in registeredPackages)
4848
{
49-
if (package.name.StartsWith(PlugInName))
49+
if (package.name.StartsWith(PlugInName))
5050
return true;
5151
}
5252
return false;
53-
54-
5553
}
5654

5755
private static void ThrowWarningOnMissingPlugin()
5856
{
59-
if(!BuildTargetNeedsPlugin())
57+
if (!BuildTargetNeedsPlugin())
6058
return;
61-
Debug.Assert(IsPluginInstalled(),"Active Input Handling is set to InputSystem, but no Plugin for "+ EditorUserBuildSettings.activeBuildTarget+" was found. Please install the missing InputSystem package extensions.");
59+
Debug.Assert(IsPluginInstalled(), "Active Input Handling is set to InputSystem, but no Plugin for " + EditorUserBuildSettings.activeBuildTarget + " was found. Please install the missing InputSystem package extensions.");
6260
}
6361
}
6462
}

0 commit comments

Comments
 (0)