1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00

Merge pull request #68806 from MewPurPur/printraw-warn-better-in-docs

Make it clearer that printraw only prints to terminal
This commit is contained in:
Rémi Verschelde
2022-11-24 18:54:42 +01:00

View File

@@ -794,14 +794,13 @@
</method>
<method name="printraw" qualifiers="vararg">
<description>
Prints one or more arguments to strings in the best way possible to console. Unlike [method print], no newline is automatically added at the end.
Prints one or more arguments to strings in the best way possible to the OS terminal. Unlike [method print], no newline is automatically added at the end.
[codeblock]
printraw("A")
printraw("B")
printraw("C")
# Prints ABC
# Prints ABC to terminal
[/codeblock]
[b]Note:[/b] Due to limitations with Godot's built-in console, this only prints to the terminal. If you need to print in the editor, use another method, such as [method print].
</description>
</method>
<method name="prints" qualifiers="vararg">