18 Commits

Author SHA1 Message Date
Markus Kauppila
81b7f5233a Update creating_script_templates.rst 2025-08-16 13:38:42 +03:00
A Thousand Ships
92cd36b50e Various grammar and spelling fixes 2025-06-23 16:37:26 +02:00
Muller-Castro
c8583abde8 Add _CLASS_SNAKE_CASE_ script template placeholder 2025-04-28 13:00:02 -03:00
tetrapod00
a8667ffddf Add links to project setting mentions 2024-11-05 11:55:14 -08:00
Hugo Locurcio
8f320d5e54 Fix incorrect statement in node_type being case-insensitive in Creating script templates
On case-sensitive filesystems, the case must match the actual node name,
so the folder will most likely need to use uppercase characters in its name
(e.g. `MeshInstance3D`).
2024-09-15 16:00:05 +02:00
A Thousand Ships
36e2351df2 Fix invalid indentation in various files 2024-06-06 16:16:45 +02:00
skyace65
f941feee55 Add info on script template folders 2024-05-01 22:02:41 -04:00
Chad Stewart
47d13403e3 Fix outdated _CLASS_ script template description.
_CLASS_ works in gdscript as well, so remove the `(C# only)` note.
2024-04-02 23:55:27 -04:00
skyace65
36e3368771 Remove incorrect information on script templates 2024-03-02 12:47:36 -05:00
skyace65
63a2c55cab Add info on finding script templates folder 2024-02-05 21:44:03 -05:00
Raul Santos
cbf555608c C#: Add tip about excluding template files from build
- Add tip about excluding C# template files from build.
- Add `_BINDINGS_NAMESPACE_` placeholder to the list of placeholders.
2023-07-11 20:54:01 +02:00
Russell Matney
fe3b20f903 docs: add script templates example
Ran into this today - the docs are good but could use an actual example
to confirm what they imply. Using a node name as a directory name is
kind of odd - this would have helped me figure it out at a glance.
2023-05-02 16:44:09 -04:00
gomaproi
c39a8d9dc5 Update some screenshots in the Scripting section for Godot 4 (#6851) 2023-03-06 10:48:20 +01:00
Paul Joannon
ac22d6e537 Update & fix C# blocks under tutorials/scripting/
- `_Process` and `_PhysicsProcess` take their delta argument as a `double`
- Use string interpolation instead of concatenating strings
- Use `string` instead of `String` (`using System` was removed from everywhere in a previous PR)
- Use `System.Array.Empty<T>()` to init empty arrays
- Use `SignalName.*` instead of `nameof(*)` for signals
- Do not use `event` as an argument name (that's a keyword)
- Match node paths to screenshots when retrieving nodes from the tree
- Add a C# example for scene unique nodes
- Update the "Cross language scripting" page
- Add a note about using `is` against `null`
2023-01-13 20:41:23 +01:00
Jcrespo
b2cfd379c2 Document new script template system for Godot 4.0
The script templates page wasn't updated after godotengine/godot#53957
The templates are now per node type and folder organization has changed.

A few behaviours and configuration have also changed. Documenting based
on current editor behaviour and source code HEAD.

Fixes #5887
2022-07-24 01:59:09 +02:00
Hugo Locurcio
81fea66371 Document that .gdignore files' contents are ignored 2021-10-11 23:36:17 +02:00
horhorou
d8eca54e0c Update creating_script_templates.rst
Using Ubuntu and after trying on two different machines. I just want to specify that for Linux the template script files are not listed in the .local/share/godot folder but in .config/godot/.
If someone can confirm on other linux OS 😄 
It will allow other people who like me since version 3.0 use scripts_templates in the project root .😭
2021-05-24 20:48:20 +02:00
Nathan Lovato
4272395ab7 Move scripting section to tutorials/
Closes #4113
2020-10-07 14:05:48 -06:00