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