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 15c4d2d commit 696b057Copy full SHA for 696b057
Packages/com.unity.inputsystem/InputSystem/Editor/InputSystemPluginControl.cs
@@ -1,5 +1,4 @@
1
-#if UNITY_EDITOR
2
-#if UNITY_2021_1_OR_NEWER
+#if ((UNITY_EDITOR && UNITY_2021_1_OR_NEWER) || PACKAGE_DOCS_GENERATION)
3
using System;
4
using System.Collections.Generic;
5
using UnityEditor;
@@ -97,4 +96,3 @@ private static void ThrowWarningOnMissingPlugin()
97
96
}
98
99
#endif
100
-#endif
0 commit comments