Greetings. This question is towards best practices or, at least, some hint from more experienced developers.
I have some utility classes (singletons written in Typescript) that have initialize() methods which do some specific tasks. One of these tasks loads Json files from the resource folder. One of these Json files contains configurations that affects all the scenes behavior and appearance.
My question is: where is the best place to call these initialization() methods? Is there a better place before the start() method of the first scene? Notice, however, that the resources should already be available for consuming by the classes.
Thank you all in advance.