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 是一種可以在 Node._input()、Node._shortcut_input()、Node._unhandled_input() 中收到的特殊事件。通常由編輯器的“命令面板”發送,用於觸發動作,但也可以使用 Viewport.push_input() 手動發送。
屬性
屬性說明
這個事件代表的 Shortcut。它的 Shortcut.matches_event() 方法對這個事件始終返回 true。