spencer-melnick / Threshold

Untitled Unreal Engine project
Other
6 stars 2 forks source link

Move THConfig system from GameInstance to a new subsystem #8

Open spencer-melnick opened 4 years ago

spencer-melnick commented 4 years ago

Right now the config data is stored in the game instance, and while that works fine, a new subsystem class was added in recent engine updates. This will automatically create the subsystem globally with the associated lifetime, and could make accessing the config data a little simpler.

See https://docs.unrealengine.com/en-US/Programming/Subsystems/index.html for general information on adding subsystems and classes in Globals/Subsystems for examples