Merge pull request #58 from Degulleo/DO-59-사운드-제어
Do-59 [Fix] 패널 클릭, 클로즈 사운드 제어 버그
This commit is contained in:
commit
accbab7461
@ -102,7 +102,7 @@ public class AudioManager : Singleton<AudioManager>
|
|||||||
public void PlayClickSound()
|
public void PlayClickSound()
|
||||||
{
|
{
|
||||||
|
|
||||||
if (sfxAudioSource != null)
|
if (isPlaySFX && sfxAudioSource != null)
|
||||||
{
|
{
|
||||||
sfxAudioSource.PlayOneShot(clickSound, sfxVolume);
|
sfxAudioSource.PlayOneShot(clickSound, sfxVolume);
|
||||||
}
|
}
|
||||||
@ -111,7 +111,7 @@ public class AudioManager : Singleton<AudioManager>
|
|||||||
// 닫기 사운드(SFX) 재생
|
// 닫기 사운드(SFX) 재생
|
||||||
public void PlayCloseSound()
|
public void PlayCloseSound()
|
||||||
{
|
{
|
||||||
if (sfxAudioSource != null)
|
if (isPlaySFX && sfxAudioSource != null)
|
||||||
{
|
{
|
||||||
sfxAudioSource.PlayOneShot(closeSound, sfxVolume);
|
sfxAudioSource.PlayOneShot(closeSound, sfxVolume);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user