I’ve been trying to find information on how I should send default information to a world subsystem, but I can’t figure out how I should go about it.
Currently, I have an enemy manager and a stage data data asset that I want to let the designer mess with in the editor. So I ended up making that enemy manager a blueprint class that gets placed in a specific level instead of a world subsystem. But now I want to have a subsystem that holds all of my managers for reference. How could I pass that enemy manager to the new manager subsystem? Or am I going about this structure entirely wrong? Because, as far as I know, this is the only way I can expose the manager to editor-made data assets.
Any information or help would be greatly appreciated.
Keep the World Subsystem as the holder and expose the manager references as editable properties so the designer sets them in the editor. Since the subsystem exists with the world, read those references in BeginPlay after actors are ready and let the subsystem create or find the managers in a fixed order.
you can also try Blueprint Subsystems Bridge, it lets you build World and GameInstance subsystems in Blueprint with designer exposed assets: Blueprint Subsystems Bridge — Game Instance, World, Engine & Player Subsystems | Fab