コード例 #1
0
 private void Start()
 {
     musicManager = FindObjectOfType<MusicManager>();
     musicManager.SetVolume(PlayerPreferenceManager.GetMasterVolume());
 }
コード例 #2
0
 private void Start()
 {
     musicManager           = FindObjectOfType <MusicManager>();
     volumeSlider.value     = PlayerPreferenceManager.GetMasterVolume();
     difficultySlider.value = PlayerPreferenceManager.GetDifficulty();
 }