mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Update the state of C#/.NET support as of 4.2 beta 1
This commit is contained in:
@@ -18,10 +18,10 @@ it is implemented with .NET 6.0.
|
||||
|
||||
.. attention::
|
||||
|
||||
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.
|
||||
Android platform support is available as of Godot 4.2, but is experimental
|
||||
and :ref:`some limitations apply <doc_c_sharp_platforms>`.
|
||||
Projects written in C# using Godot 4 currently cannot be exported to the web
|
||||
platform. To use C# on that platforms, consider Godot 3 instead.
|
||||
Android and iOS platform support is available as of Godot 4.2, but is
|
||||
experimental and :ref:`some limitations apply <doc_c_sharp_platforms>`.
|
||||
|
||||
.. note::
|
||||
|
||||
|
||||
@@ -42,13 +42,35 @@ C# platform support
|
||||
-------------------
|
||||
|
||||
As of Godot 4.2 projects written in C# support all desktop platforms (Windows, Linux,
|
||||
and macOS), as well as Android. Android support is currently experimental and has a few
|
||||
limitations.
|
||||
and macOS), as well as Android and iOS.
|
||||
|
||||
- Projects targeting Android need to be created using .NET 7.0 or higher. This requires
|
||||
modifying the `.csproj` file generated by Godot.
|
||||
Android support is currently experimental and has a few limitations.
|
||||
|
||||
- Projects targeting Android need to target .NET 7.0 or higher. This requires
|
||||
modifying the `.csproj` file generated by Godot for existing projects.
|
||||
The following property is added to new projects created with 4.2 and can be
|
||||
added to existing projects:
|
||||
|
||||
.. code-block:: xml
|
||||
|
||||
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net7.0</TargetFramework>
|
||||
|
||||
- Only some Android architectures are supported: ``arm64`` and ``x64``.
|
||||
|
||||
Currently, projects written in C# cannot be exported to iOS and web platforms. To use C#
|
||||
on those platforms, consider Godot 3 instead.
|
||||
iOS support is currently experimental and has a few limitations.
|
||||
|
||||
- Projects targeting iOS need to target .NET 8.0 or higher. This requires
|
||||
modifying the `.csproj` file generated by Godot for existing projects.
|
||||
The following property is added to new projects created with 4.2 and can be
|
||||
added to existing projects:
|
||||
|
||||
.. code-block:: xml
|
||||
|
||||
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'ios' ">net8.0</TargetFramework>
|
||||
|
||||
- The official export templates for the iOS simulator only supports the ``x64`` architecture.
|
||||
|
||||
- Exporting to iOS can only be done from a MacOS device.
|
||||
|
||||
Currently, projects written in C# cannot be exported to the web platform. To use C#
|
||||
on that platform, consider Godot 3 instead.
|
||||
|
||||
Reference in New Issue
Block a user