Hi, i am planning for structure of my code work and i wonder what class type would be nicely fit for manager class.
since i am quite new to unreal and programming, i want to hear all the opinions as i can.
so far, my plan is make a game instance class that store all the manager classes ( like handling object per type or team, handling save data, store or process some data for something and etc ) and that instance class will create all the managers when instance created and destroy when it dies. since the game instance will exist only one instance, it would work well i guess.
before this project i am working on, i learn singleton and use it for manager classes but since either unreal doesn’t recommend singleton and recommending use game instance which only can create one instance. i think it is the best way as i can think for now.
long story short, i really don’t have any experience for working with unreal. so that i want to hear what class type is best for creating manager class and why.
it would be great if i can hear code structure tips for manager classes ( instead storing all manager classes in game instance class )