1
This commit is contained in:
parent
cfecafd678
commit
0102406668
@ -78,8 +78,7 @@ public static class InputDeviceWatcher
|
|||||||
OnDeviceChanged = null;
|
OnDeviceChanged = null;
|
||||||
initialized = false;
|
initialized = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------ 监听输入 --------------------
|
|
||||||
private static void OnAnyInputPerformed(InputAction.CallbackContext ctx)
|
private static void OnAnyInputPerformed(InputAction.CallbackContext ctx)
|
||||||
{
|
{
|
||||||
if (ctx.control == null || ctx.control.device == null) return;
|
if (ctx.control == null || ctx.control.device == null) return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user