So I have a system where I create attributes for various items (like missiles for example). These missiles are creating by a factory that I have on my main collection.
My game manager sets the attributes via a lua module, but the issue is for some reason the missiles are “generated” before the game manager gets to set the attributes.
Even if I have the GO disabled then enable it by the game manager this still happens.
What is the best way to ensure the game manager script is the first one to be initialized?