public void SafeAndResume() { PlayerPreferenceController.SetMusicVolume(musicSlider.value); PlayerPreferenceController.SetSFXVolume(SFXSlider.value); sceneLoader.BackToGamePlay(); }
public void SafeAndExitToMainMenu() { PlayerPreferenceController.SetMusicVolume(musicSlider.value); PlayerPreferenceController.SetSFXVolume(SFXSlider.value); sceneLoader.LoadMainMenu(); }