Skip to content

Commit

Permalink
Update the state of C#/.NET support as of 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriSizov committed Oct 3, 2023
1 parent 228c10e commit 8984127
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 20 deletions.
16 changes: 13 additions & 3 deletions about/list_of_features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ Platforms
Godot aims to be as platform-independent as possible and can be
:ref:`ported to new platforms <doc_custom_platform_ports>` with relative ease.

.. note::

The C#/.NET version of Godot 4 only supports desktop platforms. Experimental support
for Android is available starting with Godot 4.2. iOS and web platform support is
currently in development.

Editor
------

Expand Down Expand Up @@ -429,12 +435,16 @@ Scripting
:ref:`C#: <toc-learn-scripting-C#>`

- Packaged in a separate binary to keep file sizes and dependencies down.
- Uses .NET 6.
- Supports .NET 6 and 7.

- Full support for the C# 10.0 syntax and features.

- Supports Windows, Linux and macOS. Mobile/web platforms are currently
unsupported. To use C# on mobile/web platforms, use Godot 3 instead.
- Supports Windows, Linux, and macOS. As of 4.2 experimental support for Android
is also available.

- iOS and web platforms are currently unsupported. To use C# on those platforms,
consider Godot 3 instead.

- Using an external editor is recommended to benefit from IDE functionality.

**GDExtension (C, C++, Rust, D, ...):**
Expand Down
5 changes: 2 additions & 3 deletions getting_started/step_by_step/scripting_languages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,8 @@ officially supported .NET option.

.. attention::

Projects written in C# using Godot 4.x currently cannot be exported to
Android, iOS and web platforms. To use C# on those platforms, use Godot 3
instead.
Projects written in C# using Godot 4 currently cannot be exported to iOS
and web platforms. To use C# on those platforms, consider Godot 3 instead.

C++ via GDExtension
~~~~~~~~~~~~~~~~~~~
Expand Down
16 changes: 2 additions & 14 deletions tutorials/scripting/c_sharp/c_sharp_basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ C# basics
Introduction
------------

.. warning::

.NET support has been heavily modified between Godot 3 and 4. As such, you
may still run into some issues, or find spots where the documentation could
be improved.

Please report issues with C# in Godot on the
`engine GitHub page <https://github.com/godotengine/godot/issues>`_,
and any documentation issues on the
`documentation GitHub page <https://github.com/godotengine/godot-docs/issues>`_.

This page provides a brief introduction to C#, both what it is and
how to use it in Godot. Afterwards, you may want to look at
:ref:`how to use specific features <doc_c_sharp_features>`, read about the
Expand All @@ -29,9 +18,8 @@ it is implemented with .NET 6.0.

.. attention::

Projects written in C# using Godot 4.x currently cannot be exported to
Android, iOS and web platforms. To use C# on those platforms, use Godot 3
instead.
Projects written in C# using Godot 4.x currently cannot be exported to iOS
and web platforms. To use C# on those platforms, consider Godot 3 instead.

.. note::

Expand Down

0 comments on commit 8984127

Please sign in to comment.