I'm totally confused on how multiple scenes should be handled in UrhoSharp.
I don't even know what I am allowed to do in C# and what not when using UrhoSharp (since it's still a wrapper around Urho3D).
I want to have a scene for the main menu, another scene for the in-game part, and another one for, let's say, a level editor. I want to create those scenes by code rather than loading them from XML.
EditorScene, all inheriting from
Sceneand create a new constructor for it where I instantiate my scene objects? I'm not sure if I should inherit from Scene - the Urho3D documentation suggests not to inherit from
Sceneitself is an extended
Nodeclass), and rather solve that with components.
OnDeactivated, or how?
Viewportso another one is displayed, then prevent the previous scene from getting updates with
UpdateEnabled = false. But what when I want to completely destroy the previous scene? Is it even a good idea to have it lieing around in memory, probably not?
Sorry I'm utterly confused. I just can't really get started figuring out how to create a mulit-scene game with UrhoSharp. The samples simply just have one scene, so they didn't help me much.