using SharpConfig;
Configuration config = Configuration.LoadFromFile(Application.streamingAssetsPath + "/sample.cfg");
Section section = config["General"];
string someString = section["SomeString"].Value;
int someInteger = section["SomeInteger"].GetValue<int>();
float someFloat = section["SomeFloat"].GetValue<float>();
object[] myArray = config["General"]["AnArray"].GetValue<object[]>();