Docs for push_error and push_warning functions
Added short documentation for push_error() and push_warning() godot script functions
This commit is contained in:
parent
cca0ffebdc
commit
dfa5cbfdc3
1 changed files with 8 additions and 0 deletions
|
@ -751,6 +751,10 @@
|
|||
<argument index="0" name="message" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Pushes an error message to Godot's built-in debugger and to the OS terminal.
|
||||
[codeblock]
|
||||
push_error("test error") # prints "test error" to debugger and terminal as error call
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="push_warning">
|
||||
|
@ -759,6 +763,10 @@
|
|||
<argument index="0" name="message" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Pushes a warning message to Godot's built-in debugger and to the OS terminal.
|
||||
[codeblock]
|
||||
push_warning("test warning") # prints "test warning" to debugger and terminal as warning call
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="rad2deg">
|
||||
|
|
Loading…
Reference in a new issue