몬스터 공격음 제거 및 캐릭터 피격음 복구
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace TON
|
||||
|
||||
private CharacterBase _characterBase;
|
||||
|
||||
public AudioClip _attackSound;
|
||||
// public AudioClip _attackSound;
|
||||
public AudioClip _deathSound;
|
||||
public AudioClip _hitSound;
|
||||
|
||||
@@ -186,7 +186,7 @@ namespace TON
|
||||
|
||||
_characterBase.ApplyDamage(damage);
|
||||
|
||||
SoundManager.instance.SFXPlay("Attack", _attackSound);
|
||||
// SoundManager.instance.SFXPlay("Attack", _attackSound);
|
||||
// Debug.Log($" 몬스터 공격! 최종 데미지: {damage}"); // 데미지 출력
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user