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.
Any help would be greatly appreciated.