File size: 406 Bytes
18a519f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | using UnityEngine.InputSystem;
////FIXME: This should be UnityEngine.InputSystem.UI
#if UNITY_DISABLE_DEFAULT_INPUT_PLUGIN_INITIALIZATION
public
#else
internal
#endif
static class UISupport
{
public static void Initialize()
{
InputSystem.RegisterLayout(@"
{
""name"" : ""VirtualMouse"",
""extend"" : ""Mouse""
}
");
}
}
|