在Godot引擎中,_unhandled_input函数是一个非常重要的输入处理函数,它允许开发者捕获和处理那些未被其他输入处理函数(如_input)处理的输入事件。下面我将根据你的要求,分点详细解释_unhandled_input函数的相关内容。 1. _unhandled_input函数在Godot中的作用 _unhandled_input函数的主要作用是处理那些未被其他输入处理函...
Godot v4.3.stable - Linux - X11 - Vulkan (Forward+) Issue description I've got an in-game menu which has a settings sub-menu. I noticed for a while now in my game that the key bindings settings screen didn't work. Finally having some time to tackle this bug, I've noticed that t...
Godot version: 3.1.1 Mono OS/device including version: Windows 10 Issue description: Having a override public void _UnhandledInput(InputEvent e) { } leaks objects, that don't get GC'd. Unreferencing the InputEvent object with e.Unreference(); prevents a leak. Steps to reproduce: Create a...
_unhandled_key_input's event has a type of InputEvent, but shouldn't it use InputEventKey? To get the correct auto-complete, you have to use a workaround like var _event: InputEventKey = event. Unless I am mistaken, event in this method should always be InputEventKey, so there is ...