몬스터 공격음 제거 및 캐릭터 피격음 복구

This commit is contained in:
Mingu Kim
2025-03-01 21:48:15 +09:00
parent fb9423ac25
commit e6a2b638cf
2 changed files with 5 additions and 3 deletions

View File

@@ -43,7 +43,8 @@ namespace TON
public AudioClip _attackSound;
public AudioClip _deathSound;
public AudioClip _hitSound;
public void Start()
{
animator = GetComponent<Animator>();
@@ -261,6 +262,7 @@ namespace TON
if (damage < 10)
{
animator.SetTrigger("Hit Trigger");
SoundManager.instance.SFXPlay("Hit", _hitSound);
}
}
}