Hello. I wanted to load game related collection only when game starts not when I’m loading the main menu. So it was done, but with more and more animations the loading of these collections becomes more visible. Current load/unload structure is like this:
Main menu → loads Game
Game → can show (and load) various pop-up collections which can also be hidden after use
Game → loads Main Menu when we are getting back from the game.
Idea is to have all pop-up screen preloaded during the load of the Game from Main Menu. And unload them (if they weren’t shown) during the Menu load. I can use monarch.preload. And it will preload it, but only ones. If I hide this screen (and this is natural behavior) it will require preloading again.
If the collection is preloaded from the beginning (via boolean in collection proxy setting) it will always be preloaded. But in this case, I will need to manually clean guis in that collection (which I really do not want to do ), as it will retain all information from the last game.
So is there a way to ‘clear’ always preloaded collections or somehow preload collections for some period with options to unload it manually? I am also open to other suggestions)
P.S. All pop-up collections mentioned above basically consists of one or two guis elements. They were put into separate collections to not to bother with their cleanup after each call.