コード例 #1
0
    public void SaveAndExit()
    {
        volume = volumeSlider.value;
        PlayerprefsManager.SetMasterVolume(volume);

        difficulty = diffSlider.value;
        PlayerprefsManager.SetDifficulty(difficulty);
    }
コード例 #2
0
 public void saveAndExit()
 {
     PlayerprefsManager.SetMasterVolume(volumeSlider.value);
     PlayerprefsManager.SetDifficulty(difficultySlider.value);
     levelManager.LoadLevel("01a Start");
 }