83 Commits

Author SHA1 Message Date
Max Hilbrunner 060ba85821 Merge pull request #8440 from tetrapod00/patch-2
c_sharp_exports.rst: use uint for layers; update casing to C# convention
2023-11-11 05:29:51 +01:00
Ershn 904a9543e9 Make some clarifications/fixes in the C# docs 2023-10-09 00:49:05 +02:00
31 bec4c9757c 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-10-09 00:45:40 +02:00
Corey 1061b17070 Update c_sharp_basics.rst
* Fix incorrect file name with regards to adding the `program` parameter.
2023-10-09 00:31:31 +02:00
Max Hilbrunner 6134851db2 Merge pull request #7626 from bbrainstormer/master 2023-08-01 05:28:55 +02:00
Max Hilbrunner 52df4cb0cd Merge pull request #7525 from RedworkDE/net-version-defines 2023-08-01 05:27:43 +02:00
Max Hilbrunner 1cce13930f Merge pull request #7586 from br1trs/update_VS_Workloads 2023-08-01 05:26:51 +02:00
Matthew 2f7c25e02f Merge pull request #7551 from Calinou/csharp-export-limitations
Document C# currently not being supported on Android, iOS and Web
2023-08-01 05:24:41 +02:00
Matthew e0f13db29e Merge pull request #7630 from CactiChameleon9/master
Fix mention of Godot3's or_lesser for export_range
2023-08-01 05:16:42 +02:00
Max Hilbrunner 97e89160eb Merge pull request #7613 from raulsntos/dotnet/fix-diff 2023-08-01 05:06:44 +02: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
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
Max Hilbrunner 3592c269ac Merge pull request #6792 from RedworkDE/compiling-with-mono-net
Update the `Compiling with Mono` page
2023-02-26 10:06:15 +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
Raul Santos 4fc468e2e9 Apply suggestions from code review
Co-authored-by: RedworkDE <10944644+RedworkDE@users.noreply.github.com>
2023-02-21 19:39:29 +01: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 7f35d9b38e Update tutorials/scripting/c_sharp/c_sharp_collections.rst
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-13 21:24:40 +01:00
Raul Santos c403465613 Add C# collections documentation page
- Move documentation of the Godot C# collection types to a dedicated page.
- Document the differences between .NET collections and Godot collections.
- Help users choose which type of collection to use in C#.
2023-02-13 21:24:39 +01:00
Max Hilbrunner 0464ade11c Merge pull request #6761 from Piralein/warnings
Update Invalid References
2023-02-12 18:34:53 +01: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
Hana 64476d96b4 update references 2023-02-10 19:13:03 +01:00
Raul Santos 5010fa0d17 Add missing differences to C# documentation (#6739)
* Add missing differences to C# documentation

- Add `NodePath` section.
- Add `RID` section.
- Update `Transform2D` section.
- Add `Transform3D` section.
- Add `Rect2i` section.
- Add `AABB` section.
- Add `Projection` section.

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-08 12:44:20 +01:00
31 8a9729d900 Add C# type test example (pattern matching) (#6732)
* Add C# type test example (pattern matching)
* Connect section to "is" section, put "advanced" note back
2023-02-05 16:22:07 +03:00
31 e155194384 C#: Replace "falsy" with "false" in C# "is" doc (#6733) 2023-02-05 16:08:39 +03:00
31 ec045a4342 Lowercase titles for C# exports and signals pages 2023-02-04 16:08:57 -08:00
Raul Santos 7c014cfce6 Document Signal and Callable types in C# differences page (#6722) 2023-02-04 21:29:09 +03:00
Yuri Sizov 39ba707179 Merge pull request #6730 from raulsntos/dotnet/variant
Add a dedicated page about the C# Variant type
2023-02-04 20:37:54 +03:00
Raul Santos 1a118aed3a Apply suggestions from code review
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-02-04 18:08:54 +01:00
Raul Santos e9389ccbe6 Add a dedicated page about the C# Variant type 2023-02-04 18:08:22 +01:00
Yuri Sizov 6d5adf61a8 Merge pull request #6677 from raulsntos/dotnet/array-docs
C#: Add table with equivalent Array methods
2023-02-04 19:56:16 +03:00
Raul Santos 84d7a0f8d8 C#: Add table with equivalent Array methods 2023-02-04 17:49:11 +01:00
Raul Santos d7f4e6b607 C#: Add table with equivalent GlobalScope methods 2023-02-04 17:07:39 +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 ebdd928c06 C# signal delegates must be public 2023-01-30 10:27:03 +01:00
Matthew e37fcde0af Merge pull request #6691 from paulloz/csharp/cs1612-and-basics-page-updates
Updates to C# basics (prerequisites / setup + start common errors section)
2023-01-28 18:20:14 -05: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
Yuri Sizov da6dad7b18 Merge pull request #6678 from raulsntos/dotnet/quaternion-docs
C#: Remove outdated Quaternion documentation
2023-01-28 23:51:29 +03:00
Raul Santos db63931309 C#: Add table with equivalent Dictionary methods (#6676) 2023-01-28 23:45:41 +03:00
Raul Santos 831dc13e1f C#: Remove outdated Quaternion documentation 2023-01-28 21:43:45 +01:00
Yuri Sizov e2df72255a Merge pull request #6680 from raulsntos/dotnet/plane-docs
C#: Remove Plane section from C# differences page
2023-01-28 22:45:21 +03:00
Raul Santos 17ca353ae6 Add Color section to C# differences page 2023-01-28 18:43:29 +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
Raul Santos ebd89d2569 C#: Add TOOLS define and remove custom features
- The `TOOLS` define wasn't documented anywhere.
- Add `GODOT_REAL_T_IS_DOUBLE` define to the list.
- Custom features as defines were removed and are no longer added.
2023-01-27 18:14:11 +01:00
Raul Santos 171cfc9a85 C#: Remove Plane section from C# differences page 2023-01-27 03:16:33 +01:00
Max Hilbrunner 0c18a7cb67 Merge pull request #6643 from paulloz/csharp/signals
Create a dedicated "C# Signals" page
2023-01-23 19:22:15 +01:00
Paul Joannon 3347df2edb Create a dedicated "C# Signals" page 2023-01-22 17:37:29 +01:00
Vince Nguyen c8f45094b5 Removed outdated documentation 2023-01-21 21:24:51 -08: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