Browse Source

Merge pull request #7268 from russmatney/rm/script-templates-example

docs: add script templates example
Max Hilbrunner 2 years ago
parent
commit
cbd464a000
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tutorials/scripting/creating_script_templates.rst

+ 5 - 0
tutorials/scripting/creating_script_templates.rst

@@ -67,6 +67,11 @@ where:
 
 * ``extension``: will indicate which language the template will apply to (it should be ``gd`` for GDScript or ``cs`` for C#)
 
+For example:
+
+-  ``template_scripts/Node/smooth_camera.gd``
+-  ``template_scripts/CharacterBody3D/platformer_movement.gd``
+
 
 Default behaviour and overriding it
 -----------------------------------