JsonConfigLoader¶
Namespace: WellFired.Profile.Unity.Runtime
Implements: WellFired.Profile.Config.Utils.IJSONConfigLoader
Description¶
Loads a config file from the DotProfileConfig directory
Public Methods¶
string | LoadJsonConfig ( string fileName ) |
Breakdown¶
string LoadJsonConfig ( string fileName )
Description
Load the actual config, returning the loaded data before deserialization
Parameters
fileName The file you’d like to load, the file does not need to have the .pcfg extension. the file also does not need to be a full path, the fileName provided should be relative to the DotProfileConfig directory. I.E. If you want SomeDirectory/AnotherDirectory/DotProfileCOnfig/ConfigFile.pcfg, the fileName used should be ConfigFile.