コード例 #1
0
 public SettingsManager(ISettingsSerializer settingsSerializer)
 {
     this.settingsSerializer = settingsSerializer;
     handleMusicChange(settingsSerializer.RetrieveMusicVolume());
     handleSFXChange(settingsSerializer.RetrieveSFXVolume());
     onMusicChange += handleMusicChange;
     onSFXChange   += handleSFXChange;
 }