I'm having a problem wrapping my head around scenario like this.
Say I've got a scene called Room. Now, my game procedurally generates content of each room. Entering a new room to see new content, finishing it and going to the next one isn't much of a problem. However, I'd like to add ability to go back AND to generate a set of rooms (say, 5) along certain path. Now, how exactly can I achieve this?
The latter one, I can store somewhere information about each room whether it should have exits on left/right or top/bottom and just generate as player moves forward using this data. The tricky part is coming back. What would you guys recommend? Serializing the whole scene (will it even work in this case?), picking up and serializing my own information about the randomed scene? Not sure how to approach this.