Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
InputEventShortcut
繼承: InputEvent < Resource < RefCounted < Object
代表觸發的鍵盤快捷鍵 Shortcut。
說明
InputEventShortcut is a special event that can be received in Node._input(), Node._shortcut_input(), and Node._unhandled_input(). It is typically sent by the editor's Command Palette to trigger actions, but can also be sent manually using Viewport.push_input().
屬性
屬性說明
這個事件代表的 Shortcut。它的 Shortcut.matches_event() 方法對這個事件始終返回 true。