DEG-56-몬스터-SFX-추가-작업 #35

Merged
FioreFlower merged 3 commits from DEG-56-몬스터-SFX-추가-작업 into main 2025-05-12 05:56:02 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 7ed35864cb - Show all commits

BIN
Assets/JYY/Prefabs/[Enemy] PldDog.prefab (Stored with Git LFS)

Binary file not shown.

View File

@ -40,10 +40,8 @@ public class PldDogController : EnemyController
// SFX
[Space(10)]
[Header("SFX")]
[SerializeField] private AudioClip circleSlashSound;
[SerializeField] private AudioClip slashSound;
[SerializeField] private AudioClip boomSound;
[SerializeField] private AudioClip verticalSlashSound;
[SerializeField] private AudioClip horizontalSlashSound;
private float _patternTimer = 0f;
private int _lastPatternIndex = -1;
@ -118,6 +116,7 @@ public class PldDogController : EnemyController
{
Debug.Log("BombThrowPattern: 보스가 폭탄을 던집니다.");
SetAnimation(BoomShot);
SoundManager.Instance.PlaySFX(boomSound);
_isPatternRunning = true;
Agent.isStopped = true;
@ -211,6 +210,7 @@ public class PldDogController : EnemyController
private void SlashAnimationPlay()
{
SetAnimation(Slash);
SoundManager.Instance.PlaySFX(slashSound);
}
private void PatternClear()