void Save() { eSave saver = new eSave(); saver.SaveDateTime("LastPlayTime", DateTime.Now); saver.SaveDecimal("Money", Money); saver.SaveDecimal("MoneyM", MoneyMultiplier); saver.SaveDecimal("Score", Score); saver.SaveFloat("TPS", TapPerSec); saver.SaveDecimal("IdleMoney", IdleMoneyPerSec); saver.SaveDecimal("DamageM", DamageMultiplier); saver.SaveInt("CurItem", CurrentItem); saver.SaveDecimal("Damage", Damage); saver.SaveInt("MaxLevel", MaxLevelUnlocked); Invoke("Save", SaveDelay); if (OnSave != null) { OnSave(); } }
void Save() { saver.SaveInt("Gems", Gems); saver.SaveInt("GeC", GemChances); }
void Save() { Saver.SaveInt(ID.ToString(), Level); Saver.SaveInt(ID.ToString() + "TotalNew", GeneratedLevels); }