Преглед изворни кода

Add info on finding script templates folder

skyace65 пре 1 година
родитељ
комит
63a2c55cab
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      tutorials/scripting/creating_script_templates.rst

+ 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.