@@ -223,7 +223,7 @@ public void Resume() {
223223 StartCoroutine ( TransitionedResume ( ) ) ;
224224 }
225225
226- public void GameOver ( Sound . Type gameOverSound = Sound . Type . None ) { // TODO: make every UI button function not work when !IsGamePlayable (cuz of fade)
226+ public void GameOver ( Sound . Type gameOverSound = Sound . Type . None ) {
227227 AudioManager . Instance . PlaySoundOneShot ( gameOverSound , 2 ) ;
228228
229229 if ( ! IsGamePlayable ) // to avoid GameOver more than once
@@ -256,7 +256,7 @@ public void SpendCoins(int price) {
256256 }
257257
258258 public void ChangeBGMVolume ( float value ) {
259- OnUpdateVolume ? . Invoke ( 1 , value ) ; // TODO: refactor
259+ OnUpdateVolume ? . Invoke ( 1 , value ) ;
260260 OnUpdateVolume ? . Invoke ( 3 , value ) ;
261261 }
262262
@@ -367,7 +367,7 @@ private IEnumerator WaitScaleDownTransition(Animator animator) {
367367 }
368368
369369 private void InitializeTrackVolumes ( ) {
370- InitializeTrackVolume ( 1 ) ; // TODO: refactor
370+ InitializeTrackVolume ( 1 ) ;
371371 InitializeTrackVolume ( 2 ) ;
372372 InitializeTrackVolume ( 3 ) ;
373373 }
@@ -385,7 +385,7 @@ private void AssignSettings(SettingsSaveData data) {
385385 isCurrentlyLowGraphics = data . isLowGraphics ;
386386 AssignQuality ( ) ;
387387
388- OnUpdateVolume ? . Invoke ( 1 , data . bgmVolume ) ; // TODO: refactor
388+ OnUpdateVolume ? . Invoke ( 1 , data . bgmVolume ) ;
389389 OnUpdateVolume ? . Invoke ( 2 , data . sfxVolume ) ;
390390 OnUpdateVolume ? . Invoke ( 3 , data . bgmVolume ) ;
391391 }
0 commit comments