[doc] Use "param" instead of "code" to refer to parameters (6)
This commit is contained in:
parent
22bb15cde5
commit
ea2192b99e
47 changed files with 303 additions and 303 deletions
|
|
@ -69,7 +69,7 @@
|
|||
<param index="0" name="action" type="StringName" />
|
||||
<param index="1" name="deadzone" type="float" default="0.5" />
|
||||
<description>
|
||||
Adds an empty action to the [InputMap] with a configurable [code]deadzone[/code].
|
||||
Adds an empty action to the [InputMap] with a configurable [param deadzone].
|
||||
An [InputEvent] can then be added to this action with [method action_add_event].
|
||||
</description>
|
||||
</method>
|
||||
|
|
@ -87,7 +87,7 @@
|
|||
<param index="2" name="exact_match" type="bool" default="false" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the given event is part of an existing action. This method ignores keyboard modifiers if the given [InputEvent] is not pressed (for proper release detection). See [method action_has_event] if you don't want this behavior.
|
||||
If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events.
|
||||
If [param exact_match] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_actions">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue