Beispiel #1
0
    public void SafeAndResume()
    {
        PlayerPreferenceController.SetMusicVolume(musicSlider.value);
        PlayerPreferenceController.SetSFXVolume(SFXSlider.value);

        sceneLoader.BackToGamePlay();
    }
Beispiel #2
0
    public void SafeAndExitToMainMenu()
    {
        PlayerPreferenceController.SetMusicVolume(musicSlider.value);
        PlayerPreferenceController.SetSFXVolume(SFXSlider.value);

        sceneLoader.LoadMainMenu();
    }