Quellcode durchsuchen

Clarify the types `InputEvent.is_action_type()` will return `true` for

Hugo Locurcio vor 2 Monaten
Ursprung
Commit
4596894c8e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      doc/classes/InputEvent.xml

+ 1 - 1
doc/classes/InputEvent.xml

@@ -68,7 +68,7 @@
 		<method name="is_action_type" qualifiers="const">
 		<method name="is_action_type" qualifiers="const">
 			<return type="bool" />
 			<return type="bool" />
 			<description>
 			<description>
-				Returns [code]true[/code] if this input event's type is one that can be assigned to an input action.
+				Returns [code]true[/code] if this input event's type is one that can be assigned to an input action: [InputEventKey], [InputEventMouseButton], [InputEventJoypadButton], [InputEventJoypadMotion], [InputEventAction]. Returns [code]false[/code] for all other input event types.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="is_canceled" qualifiers="const">
 		<method name="is_canceled" qualifiers="const">