ID:2018302
 

Just wondering what is the best way to delete or even create a bunch of screens and items that need to be created when your going into your pause screens.

my ideas

1. i create a pause list, all these objects in this list get deleted when i exit pause

2. for(objects in view) delete.

which is better or are there better ideas. My interface will not be tied to the screen so it will be an actual objects(or multitued because of all the buttons)
or not delete it at all, just make it invisible is another option.
The first idea you suggested is how I've done it, just remove the pause list from the screen when you want to unpause and then you can add it to the screen again when you pause. Saves you creating and deleting constantly.