From f941feee55b2c3855b7a494e4b557ff565e834b7 Mon Sep 17 00:00:00 2001 From: skyace65 Date: Wed, 1 May 2024 22:02:41 -0400 Subject: [PATCH] Add info on script template folders --- tutorials/scripting/creating_script_templates.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tutorials/scripting/creating_script_templates.rst b/tutorials/scripting/creating_script_templates.rst index 8836e455f..b732710f5 100644 --- a/tutorials/scripting/creating_script_templates.rst +++ b/tutorials/scripting/creating_script_templates.rst @@ -63,7 +63,9 @@ where: * ``template_path`` is one of the 2 locations discussed in the previous two sections -* ``node_type`` is the node it will apply to (for example, :ref:`Node `, or :ref:`CharacterBody3D `) +* ``node_type`` is the node it will apply to (for example, :ref:`Node `, or :ref:`CharacterBody3D `), + casing doesn't matter for the folder name, however adding a ``_`` to a name will not work, for example ``Mesh_Instance3D`` does not work. + if a script isn't in the proper ``node_type`` folder it will not be detected. * ``file`` is the custom name you can chose for the template (for example: ``platformer_movement`` or ``smooth_camera``)