Skip to content

Commit b04d51d

Browse files
committed
only run in editor
1 parent 8300377 commit b04d51d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if UNITY_EDITOR
12
#if UNITY_2021_1_OR_NEWER
23
using System;
34
using NUnit.Framework;
@@ -74,3 +75,4 @@ private static void ThrowWarningOnMissingPlugin()
7475
}
7576
}
7677
#endif
78+
#endif

0 commit comments

Comments
 (0)