Exemple #1
0
 public static void UpdateUserProgress(DictionaryOfStringAndInt progress)
 {
     CustomPlayerPrefs.SetString("Progress", SerializeDictStringInt(progress));
     CustomPlayerPrefs.Save();
 }
Exemple #2
0
 public static DictionaryOfStringAndInt GetUserProgess()
 {
     return(DeserializeDictStringInt(CustomPlayerPrefs.GetString("Progress", SerializeDictStringInt(defaultProgress))));
 }