9092858a58
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
22 lines
406 B
C#
22 lines
406 B
C#
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""
|
|
}
|
|
");
|
|
}
|
|
}
|