Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Robotex |
In GDScript I just need to add tool keyword at beginning of script. How to do the same in GDNative script?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Robotex |
In GDScript I just need to add tool keyword at beginning of script. How to do the same in GDNative script?
Reply From: | sash-rc |
extern "C" void GDN_EXPORT godot_nativescript_init(void *handle)
{
// ...
register_tool_class<YourClass>();
}