39 Commits
Author SHA1 Message Date
Raul Santos e2b5631b1c Add C# code to "Using NavigationServer"
(cherry picked from commit 3a23253734)
2024-07-24 21:04:37 +02:00
f959b46ff0 Add "Upgrading from Godot 4.1 to Godot 4.2" page (#8488)
* Add "Upgrading from Godot 4.1 to Godot 4.2" page

* Update tutorials/migrating/upgrading_to_godot_4.2.rst

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Cerno_b <cerno.b@gmail.com>

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Cerno_b <cerno.b@gmail.com>
2023-11-21 08:56:41 +01:00
Raul Santos 9722030a2f Update C# platform support 2023-11-18 02:19:21 +01:00
Raul Santos 52ac488079 C#: Add documentation for GD0107 2023-10-27 16:33:14 +02:00
Raul Santos b63001f753 Fix C# diagnostic messages to match 4.2 2023-10-18 14:05:14 +02: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
Raul Santos 4266830497 Update C# differences for 4.2 2023-10-03 18:08:18 +02:00
Raul Santos 44029d167d Document C# diagnostics 2023-08-10 16:37:42 +02:00
Raul SantosandPaul Joannon d9e888744e Update tutorials/scripting/instancing_with_signals.rst
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-07-13 12:17:19 +02:00
Raul Santos 19fccc0bd5 C#: Fix instancing_with_signals tutorial 2023-07-12 16:02:45 +02:00
Raul Santos cbf555608c C#: Add tip about excluding template files from build
- Add tip about excluding C# template files from build.
- Add `_BINDINGS_NAMESPACE_` placeholder to the list of placeholders.
2023-07-11 20:54:01 +02:00
Raul Santos 51f7e5c4fa Add "Upgrading from Godot 4.0 to Godot 4.1" page 2023-07-07 14:23:53 +02:00
Raul Santos 13ab995921 Update C# differences list for 4.1 2023-07-05 11:38:54 +02:00
Raul Santos 3e514494b8 C#: Replace FuncRef with Callable in outdated example 2023-06-13 11:15:54 +02:00
Raul SantosandMax Hilbrunner 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 c457ab79ec 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.
- Follow our code style more closely.
- Other minor code fixes.
2023-05-18 13:14:05 +02:00
Raul SantosandRedworkDE a7637e0ef1 Update getting started C# code, remove randomize (#6811)
* Update getting started C# code, remove randomize

- Sync C# code with GDScript.
- Remove `randomize` calls.
- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double` in C#.
- Follow our C# code style more closely.
- Other minor code fixes.

---------

Co-authored-by: RedworkDE <10944644+RedworkDE@users.noreply.github.com>
2023-03-09 06:06:54 +01:00
Raul SantosandRedworkDE 4fc468e2e9 Apply suggestions from code review
Co-authored-by: RedworkDE <10944644+RedworkDE@users.noreply.github.com>
2023-02-21 19:39:29 +01:00
Raul SantosandPaul Joannon 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
Raul SantosandHana 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
Raul SantosandPaul Joannon 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
Raul Santos 7c014cfce6 Document Signal and Callable types in C# differences page (#6722) 2023-02-04 21:29:09 +03:00
Raul SantosandMax Hilbrunner 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
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 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
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
Raul Santos 17ca353ae6 Add Color section to C# differences page 2023-01-28 18:43:29 +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
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
Raul Santos 72b626cf65 C#: Add table with equivalent string methods
Adds a table with the list of methods C# methods that are equivalent to
the methods in Godot's String (including links to Microsoft's
documentation and alternative APIs to consider).
2022-12-01 05:49:26 +01:00
Raul Santos 39f488e62e Warn users about Activate now on C#
- Add a warning about enabling `Activate now` for C# plugins
- Add tabs to `Create Plugin` dialog values
2022-09-05 11:51:01 +02:00
Raul Santos 3b36a94d35 Update C# signal documentation
Updates C# signal documentation and code examples to the new API in 4.0
2022-08-26 15:59:43 +02:00
Raul Santos ff845ef7f0 Add C# examples to running_code_in_the_editor.rst 2020-08-16 12:26:47 +02:00