From 8cc90023f77fe927838de06095865121cc0740eb Mon Sep 17 00:00:00 2001 From: Alexey Gulev Date: Thu, 5 Dec 2024 19:26:42 +0100 Subject: [PATCH] add templates documentation info (#498) --- docs/en/manuals/editor.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/en/manuals/editor.md b/docs/en/manuals/editor.md index c55a0493..a17c3c8a 100644 --- a/docs/en/manuals/editor.md +++ b/docs/en/manuals/editor.md @@ -138,6 +138,8 @@ Type a suitable name for the new file. The full file name including the file typ ![create file name](images/editor/create_file_name.png){srcset="images/editor/create_file_name@2x.png 2x"} +It is possible to specify custom templates for each project. To do so, create a new folder named `templates` in the project’s root directory, and add new files named `default.*` with the desired extensions, such as `/templates/default.gui` or `/templates/default.script`. Additionally, if the `{{NAME}}` token is used in these files, it will be replaced with the filename specified in the file creation window. + ## Importing files to your project To add asset files (images, sounds, models etc) to your project, simply drag and drop them to the correct position in the *Assets* browser. This will make _copies_ of the files at the selected location in the project file structure. Read more about [how to import assets in our manual](/manuals/importing-assets/).