Commit Graph
23 Commits
Author SHA1 Message Date
hughowens e5f3f1f928 Update references to "Mono" menu item to "Dotnet"
Update references to "Mono" menu item to "Dotnet" in the text of the C Sharp Basics tutorial to match the actual menus as of Godot 4 RC5
2023-02-25 14:27:05 -08:00
Raul SantosandPaul Joannon 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 16d09985cd Updates to C# basics + explain CS1612
- Replace mentions to Mono with mentions to .NET 6
- Update prerequisites / setup instructions
- Update 'attach script' image
- Fix code guidelines
- Add a 'common errors' section with an explanation about CS1612
2023-01-28 22:37:44 +01:00
Raul SantosandYuri Sizov 55dd91b1e6 Update some of the C# documentation for 4.0 (#6681)
* Update C# documentation for 4.0

---------

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-01-28 01:17:38 +01:00
Vince Nguyen c8f45094b5 Removed outdated documentation 2023-01-21 21:24:51 -08: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
2b9d539ed2 C#: Avoid accessing expensive properties of Godot C# objects multiple times if possible (#6408)
Co-authored-by: Nico Heller <nheller@uni-bremen.de>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-12-16 13:39:04 +01:00
Max Hilbrunner 420ed2739f Merge pull request #5985 from 31/dev/31/winbugs
Add notes for common C# bugs on Windows
2022-07-27 02:54:00 +02:00
Max Hilbrunner 3f00b445e6 Merge pull request #5983 from 31/dev/31/cli
Add "dotnet CLI" option to all C# editor docs
2022-07-26 00:40:05 +02:00
31 b8c3411a40 Add notes for common C# bugs on Windows 2022-07-24 21:04:45 -07:00
31 b3296f0573 Remove "Core" from .NET SDK, simplify Mono mention 2022-07-24 17:55:10 -07:00
31 5f60723cd4 Add "dotnet CLI" option to all C# editor docs 2022-07-24 16:03:24 -07:00
MatthewandHugo Locurcio d17c415009 Update and improve VS Code setup instructions (#5501)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-01-08 00:06:25 +01:00
Matthew 44c2aa0b07 Add note that C# tools plugin requires the mono SDK on Linux (#5228)
* Add note that C# tools plugin requires mono SDK
2021-09-10 12:42:41 +02:00
merumelu 65118aa246 Replace various links with ref roles (#5137) 2021-07-31 22:29:54 +02:00
skyace65 9e4b4db40f Improve VSCode and VS C# instructions 2021-04-03 20:15:25 -04:00
31 8c55f98736 Polish new sentence about restoring NuGet packages 2021-03-20 11:37:57 -05:00
31 eb10a49864 Simplify C# NuGet package doc to match 3.2.3+ 2021-03-20 11:20:51 -05:00
Aaron Franke a0b153b2f2 Improve C# setup instructions 2021-01-30 05:47:33 -05:00
Fabio Colella be6e3c1e30 Fix :ref: link typo in C# basics (#4552) 2021-01-17 13:24:59 +01:00
Ivan Shakhov 111b3d9ac0 Update external editors prerequisites to match Godot 3.2.3+ 2020-12-05 11:30:08 +01:00
Nathan Lovato 4272395ab7 Move scripting section to tutorials/
Closes #4113
2020-10-07 14:05:48 -06:00