From 01024066686deed8d8077c6cbc83f558d6af2360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E6=B5=B7?= <1464576565@qq.com> Date: Fri, 5 Dec 2025 19:05:46 +0800 Subject: [PATCH] 1 --- Runtime/Input/InputDeviceWatcher.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;