Hey, I’m working on a game that displays modal windows now and then to the player, with various warning texts. The basic XML structure is here (Github Gist).
So for example I’d like to be able to instantiate a new modal panel with the header and body text from the Category:Default Item, or from a random Category:Advisory Item.
I’m targeting mobile, so I’m not sure if the better option would be to lazy load them from XML as needed, or initialise Collections on start in a Singleton GameManager, or something else. Resources? TextAssets? Not sure, any advice appreciated.