public void Save() { PlayerPrefs.SetInt("was_volume_changed", 1); PlayerPrefs.SetFloat("volume", value: _soundSlider.value); _musicManager.UpdateDefaultVolume(); gameObject.SetActive(false); }
public void Save() { PlayerPrefs.SetInt("was_volume_changed", 1); PlayerPrefs.SetFloat("volume", value: _soundSlider.value); _musicManager.UpdateDefaultVolume(); gameObject.SetActive(false); }