Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
C#/.NET
C# is a high-level programming language developed by Microsoft. Godot supports C# as an option for a scripting language, alongside Godot's own GDScript.
Das Standard Godot-Executable enthält von Haus aus keine C#-Unterstützung. Um die C#-Unterstützung für Ihr Projekt zu aktivieren, müssen Sie stattdessen eine .NET-Version des Editors von der Godot-Website herunterladen.
Godot-API für C#
Als Allzweck-Spiel-Engine bietet Godot einige High-Level-Funktionen als Teil seiner API. In den folgenden Artikeln wird erläutert, wie diese Funktionen in C# integriert werden und wie sich die C#-API von GDScript unterscheiden kann.
C#-Plattform-Support
Siehe auch
See Systemanforderungen for hardware and software version requirements for the Godot engine.
Bemerkung
Since C# projects use the .NET runtime, also check the system requirements for the version of .NET that you'll be using. See supported OS.
Since Godot 4.2, projects written in C# support all desktop platforms (Windows, Linux, and macOS), as well as Android and iOS.
Android support is currently experimental.
Die iOS-Unterstützung ist derzeit experimentell und hat einige Einschränkungen.
Die offiziellen Exportvorlagen für den iOS-Simulator unterstützen nur die
x64-Architektur.Exporting to iOS can only be done from a macOS device.
Derzeit können in C# geschriebene Projekte nicht auf die Web-Plattform exportiert werden. Wenn Sie C# auf dieser Plattform verwenden möchten, sollten Sie stattdessen Godot 3 in Betracht ziehen.