몬스터 공격음 제거 및 캐릭터 피격음 복구
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user