i noticed that when i press F5 to save the scene to xml , and then when i load it to the Editor ,
i can’t find the camera node . in the Nodes Hierarchy .
although the view that is presented it is the camera view
and in the code i do see this comment :
// Create camera and define viewport. We will be doing load / save, so it's convenient to create the camera outside the scene,
// so that it won't be destroyed and recreated, and we don't have to redefine the viewport on load
cameraNode_ = new Node(context_);
Camera* camera = cameraNode_->CreateComponent<Camera>();
camera->SetFarClip(300.0f);
GetSubsystem<Renderer>()->SetViewport(0, new Viewport(context_, scene_, camera));
so if i create it outside the scene how can i test in the editor how the scene will look like in the code ?
Thanks