I'm working on a randomization engine for room layouts. At the start of the game there will be tons of layers, so the game will take time to load of course, but then the game will randomly pick a few layers to work with as the level's layout.
Well, obviously just hiding the other layers wouldn't be enough. I need to delete those layers completely, or at least everything on them, or the game will proceed very slowly.
How would I do that?
Thank you!