DO-57 debug.log 삭제

This commit is contained in:
Parkillhwan 2025-03-26 09:21:15 +09:00
parent ad34f1d2a8
commit 9b77b313b2
2 changed files with 0 additions and 6 deletions

View File

@ -70,7 +70,6 @@ public class AudioManager : Singleton<AudioManager>
if (bgmAudioSource != null && bgmAudioSource.isPlaying) if (bgmAudioSource != null && bgmAudioSource.isPlaying)
{ {
bgmAudioSource.Stop(); // 게임용 BGM을 멈춤 bgmAudioSource.Stop(); // 게임용 BGM을 멈춤
Debug.Log("Game BGM stopped.");
} }
} }
@ -89,9 +88,6 @@ public class AudioManager : Singleton<AudioManager>
// 씬이 로드될 때마다 호출되는 OnSceneLoaded 메서드 // 씬이 로드될 때마다 호출되는 OnSceneLoaded 메서드
protected override void OnSceneLoaded(Scene scene, LoadSceneMode mode) protected override void OnSceneLoaded(Scene scene, LoadSceneMode mode)
{ {
// 씬 이름에 따라 BGM을 다르게 설정
Debug.Log($"Scene {scene.name} loaded.");
if (scene.name == "Main") if (scene.name == "Main")
{ {
StopGameBGM(); StopGameBGM();

View File

@ -22,14 +22,12 @@ public class SettingsPanelController : PanelController
// SFX On/Off 시 호출되는 함수 // SFX On/Off 시 호출되는 함수
public void OnSFXToggleValueChanged(bool value) public void OnSFXToggleValueChanged(bool value)
{ {
Debug.Log("SFX : " + value);
UserManager.IsPlaySFX = value; // UserManager에 값 저장 UserManager.IsPlaySFX = value; // UserManager에 값 저장
} }
// BGM On/Off 시 호출되는 함수 // BGM On/Off 시 호출되는 함수
public void OnBGMToggleValueChanged(bool value) public void OnBGMToggleValueChanged(bool value)
{ {
Debug.Log("BGM : " + value);
UserManager.IsPlayBGM = value; // UserManager에 값 저장 UserManager.IsPlayBGM = value; // UserManager에 값 저장
// BGM을 끄는 경우 // BGM을 끄는 경우