![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | SergLoff |
Greetings!
I am trying to replicate This Singleton Example using c++ with GDNative, but i haven’t been able to find out how to do this part
var s = ResourceLoader.load(path)
# Instance the new scene.
current_scene = s.instance()
# Add it to the active scene, as child of root.
get_tree().get_root().add_child(current_scene)
Any help would be greatly appreciated.
Thank you.