From 584ff890d445944a8739acc5b693ccbf2fc2a5db Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Mon, 23 Dec 2019 21:37:25 -0500 Subject: [PATCH] Add link to tool docs in gdscript docs. The gdscript_basics docs give a pretty sparse description of the tool keyword. I ended up figuring out a lot of it on my own before I finally realized there was a more detailed page hidden elsewhere in the docs. --- getting_started/scripting/gdscript/gdscript_basics.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/getting_started/scripting/gdscript/gdscript_basics.rst b/getting_started/scripting/gdscript/gdscript_basics.rst index 00de4c425..a57f2034d 100644 --- a/getting_started/scripting/gdscript/gdscript_basics.rst +++ b/getting_started/scripting/gdscript/gdscript_basics.rst @@ -1256,6 +1256,9 @@ placed at the top of the file:: func _ready(): print("Hello") + +See :ref:`doc_running_code_in_the_editor` for more information. + .. warning:: Be cautious when freeing nodes with ``queue_free()`` or ``free()`` in a tool script (especially the script's owner itself). As tool scripts run their code in the editor, misusing them may lead to