public void SaveAndExit() { volume = volumeSlider.value; PlayerprefsManager.SetMasterVolume(volume); difficulty = diffSlider.value; PlayerprefsManager.SetDifficulty(difficulty); }
public void saveAndExit() { PlayerprefsManager.SetMasterVolume(volumeSlider.value); PlayerprefsManager.SetDifficulty(difficultySlider.value); levelManager.LoadLevel("01a Start"); }