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

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

docs: add script templates example
Max Hilbrunner пре 2 година
родитељ
комит
cbd464a000
1 измењених фајлова са 5 додато и 0 уклоњено
  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#)
 * ``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
 Default behaviour and overriding it
 -----------------------------------
 -----------------------------------