Merge pull request #28125 from KoBeWi/code_true_code
Consistently wrap booleans in [code]
This commit is contained in:
commit
ab4705a807
60 changed files with 93 additions and 93 deletions
|
|
@ -203,7 +203,7 @@
|
|||
<argument index="0" name="action" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Returns [code]true[/code] when the user starts pressing the action event, meaning it's true only on the frame that the user pressed down the button.
|
||||
Returns [code]true[/code] when the user starts pressing the action event, meaning it's [code]true[/code] only on the frame that the user pressed down the button.
|
||||
This is useful for code that needs to run only once when an action is pressed, instead of every frame while it's pressed.
|
||||
</description>
|
||||
</method>
|
||||
|
|
@ -213,7 +213,7 @@
|
|||
<argument index="0" name="action" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Returns [code]true[/code] when the user stops pressing the action event, meaning it's true only on the frame that the user released the button.
|
||||
Returns [code]true[/code] when the user stops pressing the action event, meaning it's [code]true[/code] only on the frame that the user released the button.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_action_pressed" qualifiers="const">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue