Commit Graph

8 Commits

Author SHA1 Message Date
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