Esempio n. 1
0
 /// <summary>
 /// Gets a float from the ini.
 /// </summary>
 /// <param name="section">Section of the key.</param>
 /// <param name="name">Name of the key.</param>
 /// <param name="defaultValue">Value that should be used when no value is found.</param>
 /// <param name="autoSave">Whether or not the default value should be written if no value is found.</param>
 /// <returns></returns>
 public static float GetFloat(string section, string name, float defaultValue = 0f, bool autoSave = false)
 => StaticInstance.GetFloat(section, name, defaultValue, autoSave);