Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UISupport.cs 406B

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