public static FacebookAppSettings LoadFromFile() { if (s_Instance == null) { lock (s_Lock) { if (s_Instance == null) { try { s_Instance = FileUtils.LoadFromFile <FacebookAppSettings>(r_SettingsFilePath); } catch { s_Instance = new FacebookAppSettings(); } } } } return(s_Instance); }
public void DeleteFile() { FileUtils.DeleteFile(r_SettingsFilePath); s_Instance = null; }