diff --git a/Runtime/Input/InputDeviceWatcher.cs b/Runtime/Input/InputDeviceWatcher.cs index 3df12fb..de752d1 100644 --- a/Runtime/Input/InputDeviceWatcher.cs +++ b/Runtime/Input/InputDeviceWatcher.cs @@ -78,8 +78,7 @@ public static class InputDeviceWatcher OnDeviceChanged = null; initialized = false; } - - // ------------------ 监听输入 -------------------- + private static void OnAnyInputPerformed(InputAction.CallbackContext ctx) { if (ctx.control == null || ctx.control.device == null) return;