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