public void Save() { // version = Application.version; // GCryptPlayerPrefs.SetString("version", version); GCryptPlayerPrefs.SetInt("gold", gold); SaveGem(); SaveSound(); GCryptPlayerPrefs.SetBool("rated", rated); GCryptPlayerPrefs.SetInt("bestScore", bestScore); GCryptPlayerPrefs.SetInt("lastScore", lastScore); SaveAd(); SaveTimeReward(); // CollectionManager.Inst.Save (); GCryptPlayerPrefs.Save(); }
public void SaveGem() { GCryptPlayerPrefs.SetInt("gem", gem); }