浏览代码

Merge pull request #60731 from KoBeWi/action_editor

Clarify InputMap.action_get_events() in the editor
Rémi Verschelde 3 年之前
父节点
当前提交
3ac1c8e9f3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      doc/classes/InputMap.xml

+ 1 - 0
doc/classes/InputMap.xml

@@ -45,6 +45,7 @@
 			<argument index="0" name="action" type="StringName" />
 			<description>
 				Returns an array of [InputEvent]s associated with a given action.
+				[b]Note:[/b] When used in the editor (e.g. a tool script or [EditorPlugin]), this method will return events for the editor action. If you want to access your project's input binds from the editor, read the [code]input/*[/code] settings from [ProjectSettings].
 			</description>
 		</method>
 		<method name="action_has_event">