Do-59 [Fix] 패널 클릭, 클로즈 사운드 제어 버그

조건문을 깜빡했습니다..
This commit is contained in:
99jamin 2025-03-26 16:20:34 +09:00
parent 40366ce4bf
commit 1072503376

View File

@ -102,7 +102,7 @@ public class AudioManager : Singleton<AudioManager>
public void PlayClickSound()
{
if (sfxAudioSource != null)
if (isPlaySFX && sfxAudioSource != null)
{
sfxAudioSource.PlayOneShot(clickSound, sfxVolume);
}
@ -111,7 +111,7 @@ public class AudioManager : Singleton<AudioManager>
// 닫기 사운드(SFX) 재생
public void PlayCloseSound()
{
if (sfxAudioSource != null)
if (isPlaySFX && sfxAudioSource != null)
{
sfxAudioSource.PlayOneShot(closeSound, sfxVolume);
}