I want to keep my scene without losing the last one in c#

Godot Version

4.2

Question

I want to keep my scene without losing the last one.
For this I made a main scene which manages all the children’s scenes but I cannot save scenes.
I want to use this system so that when I enter a house the exterior scene remains in its initial state (Enemy, Items …)

You may want to look into Resources for re-initializing the state of scenes as they were left.

Yes, there are some security issues with this, as they cover in their later video, but it would depend on how precious the data you’re saving is. Custom resources can be very handy if you’re trying to save the state of a scene.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.