Exemple #1
0
        public static void IncrementMulti()
        {
            Progress p = Progress.Load();

            p.MultiStats++;
            p.LastUpdate = DateTime.Now.ToString();
            p.Save();
        }
Exemple #2
0
        public static void IncrementSolo(int sceneid)
        {
            Progress p = Progress.Load();

            if (sceneid > p.SoloStats)
            {
                p.SoloStats++;
                p.LastUpdate = DateTime.Now.ToString();
                p.Save();
            }
        }
Exemple #3
0
 public void Logout()
 {
     SMProgress.Progress p = new SMProgress.Progress();
     p.SoloStats  = 0;
     p.MultiStats = 0;
     p.Save();
     nouveauclient.Logout();
     SaveData.SaveData.DeleteKey("DataClient.Email");
     SaveData.SaveData.DeleteKey("DataClient.Token");
     SceneManager.LoadScene("menu");
 }