Commit Graph

15 Commits

Author SHA1 Message Date
Max Hilbrunner
c26440a0b0 Merge pull request #7626 from bbrainstormer/master 2023-07-18 13:26:28 +02:00
CactiChameleon9
cf5222b129 Fix mention of Godot3's or_lesser for export_range 2023-07-08 06:34:20 +01:00
bbrainstormer
2af093e679 Remove exprange info
PropertyHint.ExpRange was removed in godot 3.4.  This commit removes the outdated information from the wiki.
2023-07-07 20:54:10 -04:00
Raul Santos
27e7f8433c Add page about using global classes in C# (#6740)
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-06-06 11:13:49 +02:00
Raul Santos
62266a1634 Update C# exports documentation (#6746)
* Update C# exports documentation

- Node exports are supported in 4.0.
- Add documentation about exporting enums (and flag enums).
- Add more documentation about exporting collections.
- Changes to follow our style guide more closely.

---------

Co-authored-by: Hana <48352564+Piralein@users.noreply.github.com>
2023-02-12 18:31:38 +01:00
31
ec045a4342 Lowercase titles for C# exports and signals pages 2023-02-04 16:08:57 -08:00
Raul Santos
b319da3f07 Update some C# examples for 4.0 (#6693)
* Update some C# examples

- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Other minor code fixes.

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-04 17:03:03 +01:00
Paul Joannon
d70bc1b691 Document export grouping in C# (#6621)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-01-17 02:45:47 +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
Hana
9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Max Hilbrunner
99d3d0be12 Renames / fixes for Godot 4 2022-10-17 00:35:07 +02:00
Max Hilbrunner
198393eec7 More Godot 4 rename fixes (#6315)
* Spatial -> 3D, Transform, Quaternion

* File -> FileAccess

* Camera -> Camera3D

* Update references to MeshInstance and MultiMeshInstance

* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
luz paz
04f66dc5d0 Fix various typos
Found via `codespell -q 3 -S ./LICENSE.txt,./tutorials/i18n,./_tools/codespell-ignore-lines.txt -L doubleclick,findn,lod,inout,nd,raison,te` and other means
2022-07-28 10:35:04 -04:00
Aaron Franke
4060179184 Remove trailing space characters (#5251) 2021-09-13 14:52:39 +02:00
skyace65
f8fffccde0 Add C# Export Page 2021-09-07 08:38:17 -04:00