GDBridge 0.4.0
See the version list below for details.
dotnet add package GDBridge --version 0.4.0
NuGet\Install-Package GDBridge -Version 0.4.0
<PackageReference Include="GDBridge" Version="0.4.0" />
paket add GDBridge --version 0.4.0
#r "nuget: GDBridge, 0.4.0"
// Install GDBridge as a Cake Addin #addin nuget:?package=GDBridge&version=0.4.0 // Install GDBridge as a Cake Tool #tool nuget:?package=GDBridge&version=0.4.0
GDBridge
Simple package to simplify C# → GDScript interoperability. It comes in two part the bridge code and the source generator. The generator will parse all the GDScript in the project and generate a C# GDBridge class for each of them. It aims to reduce or remove the need to use string and untyped way of communicating with GDScript from C#.
How to use(See Sample)
using GdBridge;
var myGDScript = new GdScriptBridgeFactory(this).ResolveNode<ArenaBridge>(arena);
myGDScript.on_configure(42);
The bridge class is partial, so you can extend it if needed.
The bridge class is in the global namespace.
You can extend it like this:
partial class ArenaBridge
{
public void DoSomethingElse(int deckId) => on_configure(deckId);
}
The generator can be gotten from here
Feel free to ask for feature support, doing a feature Pull Request or if you have question.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- GodotSharp (>= 4.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.