File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -292,14 +292,14 @@ Running one-off scripts using EditorScript
292292Sometimes, you need to run code just one time to automate a certain task that is
293293not available in the editor out of the box. Some examples might be:
294294
295- - Use as a playground for GDScript scripting without having to run a project.
295+ - Use as a playground for GDScript or C# scripting without having to run a project.
296296 ``print() `` output is displayed in the editor Output panel.
297297- Scale all light nodes in the currently edited scene, as you noticed your level
298298 ends up looking too dark or too bright after placing lights where desired.
299299- Replace nodes that were copy-pasted with scene instances to make them easier
300300 to modify later.
301301
302- This is available in Godot by extending :ref: `class_EditorScript ` in a GDScript .
302+ This is available in Godot by extending :ref: `class_EditorScript ` in a script .
303303This provides a way to run individual scripts in the editor without having to
304304create an editor plugin.
305305
@@ -333,6 +333,11 @@ currently focused on the script editor.
333333
334334Scripts that extend EditorScript must be ``@tool `` scripts to function.
335335
336+ .. note ::
337+
338+ If you are using an external editor, open the script inside the Godot
339+ script editor so you can execute the function.
340+
336341.. warning ::
337342
338343 EditorScripts have no undo/redo functionality, so **make sure to save your
You can’t perform that action at this time.
0 commit comments