public static void SaveConfig() { try { Debug.Log("[BDTeamIcons] == Saving settings.cfg == "); SettingsDataField.Save(); } catch (NullReferenceException) { Debug.Log("[BDTeamIcons]: === Failed to save settings.cfg ===="); } }
public static void LoadConfig() { try { Debug.Log("[BDTeamIcons]=== Loading settings.cfg ==="); SettingsDataField.Load(); } catch (NullReferenceException) { Debug.Log("[BDTeamIcons]=== Failed to load settings config ==="); } }