浏览代码

Add missing InputEvent.is_echo()

Seems that it was accidentally removed in https://github.com/godotengine/godot-docs/commit/4b8ffe360034dfb70be988cf6b3188f55139e2a9
Artsiom Babukh 5 月之前
父节点
当前提交
bbb720ec7f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/inputs/inputevent.rst

+ 1 - 1
tutorials/inputs/inputevent.rst

@@ -217,7 +217,7 @@ Actions can be created from the Project Settings menu in the **Input Map**
 tab and assigned input events.
 
 Any event has the methods :ref:`InputEvent.is_action() <class_InputEvent_method_is_action>`,
-:ref:`InputEvent.is_pressed() <class_InputEvent_method_is_pressed>` and :ref:`InputEvent <class_InputEvent>`.
+:ref:`InputEvent.is_pressed() <class_InputEvent_method_is_pressed>` and :ref:`InputEvent.is_echo() <class_InputEvent_method_is_echo>`.
 
 Alternatively, it may be desired to supply the game back with an action
 from the game code (a good example of this is detecting gestures).