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