浏览代码

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#)
 
+For example:
+
+-  ``template_scripts/Node/smooth_camera.gd``
+-  ``template_scripts/CharacterBody3D/platformer_movement.gd``
+
 
 Default behaviour and overriding it
 -----------------------------------