/// <summary> /// Get non type-safe value from user settings (legacy support). /// </summary> private string GetTextValue(string section, string name) { Key key; if (data.TryGetKey(section, name, out key)) { return(key.TextValue); } Debug.LogErrorFormat("Failed to get ({0},{1}) for mod {2}.", section, name, mod.Title); return(null); }