hi, I tackled this when implementing my difficulty settings/modifiers.
I simply added Config object to my game, just a basic object that just holds my config script, and then had that script expose some public variables for spawn rates… along with a number of other things.
I then have things that need these ‘settings’, such as my enemy spawner, grab the object and get the values from them.
It’s also the place I store the modifiers for my difficulty settings, (easy, normal, hard), as private variables, which I then incorporate into my calls for things like spawn rate, health, damage and time to survive etc.
Works really nicely.
Im in the office at the moment otherwise I would add them, but if you decide to have a go at that method and get stuck, give me a shout, and I will drop in what I have as a pointer for you.