Skip to content

Commit dc22083

Browse files
FIX: Adding UISupport.cs‎ within namespace UnityEngine.InputSystem.UI (#2369)
1 parent 1e3782e commit dc22083

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
using UnityEngine.InputSystem.DualShock;
1111
using UnityEngine.InputSystem.EnhancedTouch;
1212
using UnityEngine.InputSystem.HID;
13+
using UnityEngine.InputSystem.UI;
1314
using UnityEngine.InputSystem.Users;
1415
using UnityEngine.InputSystem.XInput;
1516
using UnityEngine.InputSystem.Utilities;
Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
using UnityEngine.InputSystem;
22

3-
////FIXME: This should be UnityEngine.InputSystem.UI
4-
5-
#if UNITY_DISABLE_DEFAULT_INPUT_PLUGIN_INITIALIZATION
6-
public
7-
#else
8-
internal
9-
#endif
10-
static class UISupport
3+
namespace UnityEngine.InputSystem.UI
114
{
12-
public static void Initialize()
5+
#if UNITY_DISABLE_DEFAULT_INPUT_PLUGIN_INITIALIZATION
6+
public
7+
#else
8+
internal
9+
#endif
10+
static class UISupport
1311
{
14-
InputSystem.RegisterLayout(@"
15-
{
16-
""name"" : ""VirtualMouse"",
17-
""extend"" : ""Mouse""
18-
}
19-
");
12+
public static void Initialize()
13+
{
14+
InputSystem.RegisterLayout(@"
15+
{
16+
""name"" : ""VirtualMouse"",
17+
""extend"" : ""Mouse""
18+
}
19+
");
20+
}
2021
}
2122
}

0 commit comments

Comments
 (0)