Commit Graph

4 Commits

Author SHA1 Message Date
mara
2b271ba33e tutorials/scripting: Mention % literal syntax
It was unclear to me what that '%' literal syntax does, add
examples in the appropriate places.
2023-01-25 20:16:48 +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
Jaime Crespo
33caaf6535 Fix misc syntax/style errors/warnings on documentation head (#5977) 2022-07-23 18:29:56 +02:00
Matthew
fd545c7a3e Document scene unique nodes (#5831)
* Document scene unique nodes

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-05-23 08:03:37 +02:00