public void Finish(string stageName) { Prefs.SetFloat(GetKey(stageName), Weight); }
protected override void Write(string value) { Prefs.SetString(Key, value); }
/// <summary> /// Saves the current volume of the channel to PlayerPrefs /// </summary> internal void Save() { Prefs.SetFloat(_playerPrefsKey, _currentVolume); }
protected override void Write(float value) { Prefs.SetFloat(Key, value); }
protected override string Read() { return(Prefs.GetString(Key)); }
protected override void Write(bool value) { Prefs.SetBool(Key, value); }
protected override float Read() { return(Prefs.GetFloat(Key)); }
protected override bool Read() { return(Prefs.GetBool(Key)); }
protected override void Write(int value) { Prefs.SetInt(Key, value); }
protected override int Read() { return(Prefs.GetInt(Key)); }
public void DeleteKey() { Prefs.Delete(_key); }
public bool HasKey() { return(Prefs.Exists(_key)); }