Skip to content

Commit 9540ccd

Browse files
committed
Only reference InputSystem.Editor on the Editor
1 parent 55f7d7d commit 9540ccd

File tree

1 file changed

+4
-1
lines changed
  • Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput

1 file changed

+4
-1
lines changed

Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput/PlayerInput.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
using System;
22
using System.Collections.Generic;
33
using UnityEngine.Events;
4-
using UnityEngine.InputSystem.Editor;
54
using UnityEngine.InputSystem.LowLevel;
65
using UnityEngine.InputSystem.Users;
76
using UnityEngine.InputSystem.Utilities;
87

8+
#if UNITY_EDITOR
9+
using UnityEngine.InputSystem.Editor;
10+
#endif
11+
912
#if PACKAGE_DOCS_GENERATION || UNITY_INPUT_SYSTEM_ENABLE_UI
1013
using UnityEngine.InputSystem.UI;
1114
#endif

0 commit comments

Comments
 (0)