Where to store level related settings?

Hello, I have a qiestion, in my game there are bungh of settings wich are the same for different level but with differents values( time to finish level, the amount of enemies to spawn etc). I wonder is there any place where I can easy store and settup those values for each level ?
The obvious thing which come into my head is game mode, so I create a different gamemode for each level with aprropriate values, but it looks…that gamemodes where created for other things. The other thing is World Settings but Im not sure how to add values into it( maybe via C++ ) and how then set those settings to be used.

Thank you.

You can just put a BP actor in the level that has the settings.

Hello,

use datable.

  • Spawning actor for settings is waste of resources as actor has a lot of features that settings don’t use.

  • It’s easier to get datatable than actor.