Prechádzať zdrojové kódy

Merge pull request #8910 from skyace65/ScriptTemplates

Add info on finding script templates folder

(cherry picked from commit 45bb2104342684eaf431392b3063dfe23ac7d8ba)
Max Hilbrunner 1 rok pred
rodič
commit
cd1c84df28

+ 6 - 0
tutorials/scripting/creating_script_templates.rst

@@ -33,6 +33,12 @@ templates are determined per each OS:
 -  Linux: ``$HOME/.config/godot/script_templates/``
 -  macOS: ``$HOME/Library/Application Support/Godot/script_templates/``
 
+If you're getting Godot from somewhere other than the official website, such
+as Steam, the folder might be in a different location. You can find it using
+the Godot editor. Go to ``Editor > Open Editor Data/Settings Folder`` and it
+will open a folder in your file browser, inside that folder is the
+``script_templates`` folder.
+
 If no ``script_templates`` is detected, Godot will create a default set of
 built-in templates automatically, so this logic can be used to reset the default
 templates in case you've accidentally overwritten them.