50 Commits

Author SHA1 Message Date
Hugo Locurcio
36455d91fa Update C# basics for Godot 4.5 2025-10-07 17:37:36 +02:00
reisnersteve
7bf735d38b Update c_sharp_basics.rst (MonoDevelop has been abandoned)
MonoDevelop has officially been retired 4 years ago on github (https://github.com/mono/monodevelop)
2025-03-04 13:07:49 +01:00
tetrapod00
048bb2775e Update links to C# and GDScript sections
- Change all links to '_doc' anchors instead of 'toc's.
- Move 'doc_c_sharp' and 'doc_gdscript' to the index pages.
- Add 'doc_gdscript_reference' anchor.
- Update all existing links to point to the right place,
updating grammar if needed.
2025-02-09 16:16:43 -08:00
Max Hilbrunner
6d5fd9acc8 Merge pull request #10427 from raulsntos/dotnet/changes-in-4.4
C#: Update platform support for 4.4 and new minimum required TFM
2024-12-20 18:48:07 +01:00
Raul Santos
62b342bba9 C#: Update platform support for 4.4 and new minimum required TFM
- Remove Android restrictions that no longer apply in 4.4.
- Add links in the C# documentation about general upstream system requirements that also apply to C# projects.
- Godot projects now target `net8.0`, so there's no need to mention TFM requirements in platform support. And we can update every mention of .NET 6 with .NET 8 and C# 10 with C# 12.
2024-12-19 20:52:27 +01:00
RB35
1a72210be3 Update C# Rider install steps for now built-in plugin "Godot Support" (#10323)
* Plugin now bundled with rider so can't be installed

As of Rider 2024.2 the plugin is bundled with the software and can't be installed which can be confusing.
https://plugins.jetbrains.com/plugin/13882-godot-support

---------

Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-27 21:18:13 +01:00
tetrapod00
6feb7b47c8 Add FAQ entry "Which programming language is fastest?"
Compares the performance of C#, GDScript, and C++.

Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-Authored-By: Andre Sacilotto <66838864+andresacilotto@users.noreply.github.com>
2024-11-20 09:05:25 -08:00
tetrapod00
77f3eb6b68 Remove performance comparison from C# Basics 2024-11-19 11:03:25 -08:00
RedStainedInk
c855ff7811 Removed outdated information about Mono SDK beeing necessary
Mono SDK isn't necessary any more for Godot .NET to work properly on Linux. All functionality that was needed from Mono back then is now provided by .NET proper.

I fear Mono SDK might even cause some conflict with up-to-date .NET.
2024-09-05 22:42:33 +02:00
Tristan A.
a2d29557ed CSharp example missing return type 2024-08-02 22:34:28 +02:00
Greg Cobb
25b8b8f20f Add more information about VS and VS Code debugging (#9222)
* Added more information about VS and VS Code debugging

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-15 13:57:27 +02:00
31
131f30e83e Clarify and add to C# API general differences 2024-02-12 14:13:31 -08:00
31
1388882b3e Update external_editor.rst: point out C# instructions 2024-01-27 15:04:27 -08:00
Max Hilbrunner
a191e57604 Remove reference to outdated VS extension for C# 2024-01-24 19:55:20 +01:00
Hugo Locurcio
8f963d91e8 Improve GDExtension documentation
- Mention additional language bindings that support 4.x (already listed
  on the FAQ and List of features pages).
- Document compatibility issues with double-precision builds.
- Remove `-j4` flag from example as SCons uses most CPU cores
  automatically by default in godot-cpp now.
2023-11-07 14:42:44 +01:00
Raul Santos
f8ed631531 Update the state of C#/.NET support as of 4.2 beta 1 2023-10-12 20:26:32 +02:00
Raul Santos
084f18b176 C#: Update images of the Build button 2023-10-06 00:47:40 +02:00
Yuri Sizov
ac728e8dd2 Update the state of C#/.NET support as of 4.2 2023-10-03 18:03:52 +02:00
31
7eccc4e94b Remove outdated VS setup and 2019 support info
Removes VS 2019 from the list of supported IDEs. It doesn't support .NET SDK 6.0 and can't build Godot projects.

Removes mention of the VS extension. It only applies to 3.x projects and debugging is done with ordinary debugging tools after the move to .NET in 4.x.
2023-09-19 10:49:51 -07:00
Corey
dbd4468aae Update c_sharp_basics.rst
* Fix incorrect file name with regards to adding the `program` parameter.
2023-09-17 13:41:38 -07:00
Max Hilbrunner
87dbe4a98f Merge pull request #7586 from br1trs/update_VS_Workloads 2023-07-19 21:33:31 +02:00
br1trs
732cb27372 Update c_sharp_basics.rst 2023-06-30 17:59:03 -06:00
Hugo Locurcio
1e411aa125 Document C# currently not being supported on Android, iOS and Web 2023-06-23 23:14:56 +02:00
RedStainedInk
a434971e4f Updating the instructions for C# debugging in Visual Studio Code (#6977)
* Updating the instructions for Visual Studio Code

Edited the instructions needed to make Visual Studio Code debugging work with Godot 4 - .net. Explained the situation with the not yet updated Godot c# extension for Visual Studio Code.

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-03-22 11:26:22 +01:00
Ivan Shakhov
c3869d986a update the profiling C# code section of the doc for Godot 4 (#7025)
* update the profiling C# code section of the doc for Godot 4

---------

Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-03-22 11:01:59 +01:00
Yuri Sizov
d91b6d4058 Merge pull request #6820 from hughowens/UpdateTutorialTextMonoToDotnet
Update references to "Mono" menu item to "Dotnet"
2023-02-26 16:24:33 +01:00
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
RedworkDE
4d78c82027 Rename page mono->dotnet, Doc build_assemblies args, Note about mono, Reviews, Fixes 2023-02-20 12:28:56 +01: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
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 Santos
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
roookeee
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
Matthew
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