public void Save() { if (this.IsDirty) { this.IsDirty = false; LostPlayerPrefs.SetInt(this.volumeKey, (int)(this.volume * 100)); LostPlayerPrefs.SetBool(this.isMutedKey, this.isMuted); LostPlayerPrefs.Save(); } }
public void ResetAnonymousId() { LostPlayerPrefs.DeleteKey(AnonymousIdKey); LostPlayerPrefs.Save(); }