private void OnApplicationQuit() { User.Save(); Network.BanList.Save(); GameModes.Load(); GameModes.Save(); Settings.Save(); Style.Save(); }
private void OnApplicationQuit() { Antis.AntisThreadManager.OnApplicationQuit(); try { User.Save(); Network.BanList.Save(); GameModes.Load(); GameModes.Save(); Settings.Save(); Style.Save(); } catch (Exception ex) { UnityEngine.Debug.Log("Error occured on ApplicationQuit\n" + ex.Message + "\n" + ex.StackTrace); } }