Custom Module Bind Methods

Godot Version



I was able to get a C# script to instantiate an object created in a custom module so I believe register_types.cpp is working, but it doesn’t find the bound method.

I built, “scons p=windows target=editor module_mono_enabled=yes”
generated glue in /bin, “ --headless --generate-mono-glue modules/mono/glue”
finally, “./modules/mono/build_scripts/ --godot-output-dir ./bin --push-nupkgs-local C:\MyLocalNugetSource”

The classes bind methods
void Character::_bind_methods()
ClassDB::bind_method(D_METHOD(“getName”), &Character::getName);