소스 검색

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