#GDBridge C# -> GDScript type safe interopt

4 messages · Page 1 of 1 (latest)

amber shoal
#

I made a package to easily call GDScript from C#
It is a source generator that parse all GDScript with a class_name and make a bridge class to call it public field and function.

using GdBridge;

var myGDScript = new GdScriptBridgeFactory(this).ResolveNode<ArenaBridge>(arena);

myGDScript.on_configure(42);

https://github.com/TheJemy191/GDBridge

GitHub

Package to simplify C# -> GDScript interoperability - GitHub - TheJemy191/GDBridge: Package to simplify C# -> GDScript interoperability

mortal thunder
#

nice, do you think you will also cover the other way around?

amber shoal
mortal thunder
#

It can? Huh. I’m not very well versed with the c# side of things