I have been working on a game that works with a lot of UI and what I have been doing is when you close a window it just flys off screen and hides it, but I am not sure if this is the best way to do this.
I know that in some “experiences” it creates a new UI window and when it is closed the window is deleted. I have heard that this saves memory and currently my game is taking up a lot of memory, but is not creating any real problems (Then again, I have not tested it with many users).
Thank you for your opinion (: