I have a Mob class and a PackedScene with the root node of type Mob. I would like to instance the scene like this:
Mob mob = mob_scene->instance<Mob>();
However, there are no generics for PackedScene::instance. These exist in C# in Godot 3.3 and later, but not GDNative C++. The solution would be to add this feature to the GDNative C++ bindings.
I have a
Mobclass and aPackedScenewith the root node of typeMob. I would like to instance the scene like this:However, there are no generics for
PackedScene::instance. These exist in C# in Godot 3.3 and later, but not GDNative C++. The solution would be to add this feature to the GDNative C++ bindings.