Using separate GameObjects for "generic" scripts (Performance)
Hi,
I'm learning to optimize mobile games and want to know if I should use one GameObject for all generic scripts like game data, global managers, some analytics scripts etc. Most of such scripts are loaded on startup, so I wonder if separate GameObject for them makes startup slower.
Currently I'm using separate object to have a better visual overview what is in scene.
Answer by brunocoimbra · Oct 06, 2017 at 12:02 PM
By generic you mean singletons and managers? Is so, then there is no real difference in performance if you want to put them all together of if you want to put them in differents GameObjects.
Yes, you understood question correct. Thanks for the answer! I was not sure if maybe Transform component affects performance. Or maybe instantiating this object on startup.