public void ResetProgress() { Popup.Instance.Confirm("Warning!", "This will reset all of your levels. Are you sure you want to do that?", b => { if (!b) { return; } levelSystem = new LevelSystem(); levelSystem.Save(); shopSystem = new ShopSystem(); shopSystem.Save(); UpdateUi(); UpdateText(); }); }
public void UpdateLevel() { //levelSystem.AddExperience(playerBase.Score); levelSystem.Save(); UpdateUi(); }