[feat] 팔라딘 SFX 추가
- 폭탄 던지는 소리 - 칼 휘두르는 소리 재생 추가
This commit is contained in:
parent
33e356f678
commit
7ed35864cb
BIN
Assets/JYY/Prefabs/[Enemy] PldDog.prefab
(Stored with Git LFS)
BIN
Assets/JYY/Prefabs/[Enemy] PldDog.prefab
(Stored with Git LFS)
Binary file not shown.
@ -40,10 +40,8 @@ public class PldDogController : EnemyController
|
|||||||
// SFX
|
// SFX
|
||||||
[Space(10)]
|
[Space(10)]
|
||||||
[Header("SFX")]
|
[Header("SFX")]
|
||||||
[SerializeField] private AudioClip circleSlashSound;
|
[SerializeField] private AudioClip slashSound;
|
||||||
[SerializeField] private AudioClip boomSound;
|
[SerializeField] private AudioClip boomSound;
|
||||||
[SerializeField] private AudioClip verticalSlashSound;
|
|
||||||
[SerializeField] private AudioClip horizontalSlashSound;
|
|
||||||
|
|
||||||
private float _patternTimer = 0f;
|
private float _patternTimer = 0f;
|
||||||
private int _lastPatternIndex = -1;
|
private int _lastPatternIndex = -1;
|
||||||
@ -118,6 +116,7 @@ public class PldDogController : EnemyController
|
|||||||
{
|
{
|
||||||
Debug.Log("BombThrowPattern: 보스가 폭탄을 던집니다.");
|
Debug.Log("BombThrowPattern: 보스가 폭탄을 던집니다.");
|
||||||
SetAnimation(BoomShot);
|
SetAnimation(BoomShot);
|
||||||
|
SoundManager.Instance.PlaySFX(boomSound);
|
||||||
_isPatternRunning = true;
|
_isPatternRunning = true;
|
||||||
Agent.isStopped = true;
|
Agent.isStopped = true;
|
||||||
|
|
||||||
@ -211,6 +210,7 @@ public class PldDogController : EnemyController
|
|||||||
private void SlashAnimationPlay()
|
private void SlashAnimationPlay()
|
||||||
{
|
{
|
||||||
SetAnimation(Slash);
|
SetAnimation(Slash);
|
||||||
|
SoundManager.Instance.PlaySFX(slashSound);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PatternClear()
|
private void PatternClear()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user