暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }