Skip to content

Commit 696b057

Browse files
committed
added docs generation to ifdef
1 parent 15c4d2d commit 696b057

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#if UNITY_EDITOR
2-
#if UNITY_2021_1_OR_NEWER
1+
#if ((UNITY_EDITOR && UNITY_2021_1_OR_NEWER) || PACKAGE_DOCS_GENERATION)
32
using System;
43
using System.Collections.Generic;
54
using UnityEditor;
@@ -97,4 +96,3 @@ private static void ThrowWarningOnMissingPlugin()
9796
}
9897
}
9998
#endif
100-
#endif

0 commit comments

Comments
 (0)