コード例 #1
0
 /// <summary>
 /// Get config of float type
 /// </summary>
 /// <returns>The float.</returns>
 /// <param name="section">Section.</param>
 /// <param name="key">Key.</param>
 /// <param name="ret">Ret.</param>
 public float GetFloat(string section, string key, out Ret ret)
 {
     if (!ContainItem(section, key, out ret))
     {
         return(0f);
     }
     return(FF.StringToFloat(_config[section][key], out ret));
 }