웨이브 종료 시 BGM 종료

This commit is contained in:
Mingu Kim
2025-03-01 21:22:25 +09:00
parent eec08c14f1
commit f30495c93c

View File

@@ -266,6 +266,8 @@ namespace TON
{ {
if (currentWave != 11 && GameObject.Find("TON.Player").GetComponentInChildren<CharacterBase>() != null) if (currentWave != 11 && GameObject.Find("TON.Player").GetComponentInChildren<CharacterBase>() != null)
{ {
SoundManager.instance.BgSoundPlay(null);
float timer = nextWaveDelay; float timer = nextWaveDelay;
while (timer > 0) while (timer > 0)