void Reset() { CustomerLevel.Clear(); CollectedRecipe.Clear(); CollectedSubmaterial.Clear(); Birdcoin = 0; PlayerPrefs.DeleteAll(); }
void LoadRecipe() { int count = PlayerPrefs.GetInt(nameof(RecipeCount)); CollectedRecipe.Clear(); for (int i = 0; i < count; i++) { string id = PlayerPrefs.GetString($"{nameof(CollectedRecipe)}{i}"); CollectedRecipe.Add(id); } }