When it comes to making your game use less memory, reducing overall load times and keeping framerate up, do you have your Managers (Camera, Input, etc) use DontDestroyOnLoad and follow the player throughout the game OR do you put them in a prefab and toss it into every scene you make?
I ask because I realized some of my managers don’t need to follow the player (no global variables, stats, etc), but need to be in every scene. I imagine that just making them DontDestroyOnLoad will reduce load time because you’re loading them at the start of the game and never again, but maybe there is something behind DontDestroyOnLoad that makes it use more memory in the long run.
Anyone have an idea on this?
Keep in mind, I know I will still have to have a StateManager of some sort that will have to use DontDestroyOnLoad so I can keep track of stats, variables, etc.