DEG-61-플레이어-이펙트-추가 #20

Merged
jay merged 6 commits from DEG-61-플레이어-이펙트-추가 into main 2025-05-09 04:04:19 +00:00
5 changed files with 4 additions and 16 deletions
Showing only changes of commit 0de874ec6b - Show all commits

BIN
Assets/JAY/Animation/CustomAttack01.anim (Stored with Git LFS)

Binary file not shown.

BIN
Assets/JAY/Animation/CustomAttack02.anim (Stored with Git LFS)

Binary file not shown.

View File

@ -294,7 +294,6 @@ public class PlayerController : CharacterBase, IObserver<GameObject>
if (_weaponController.IsAttacking) return; // 이미 공격 중이면 실행 안함
if (_currentAction == _attackAction) {
Debug.Log("공격 시작!");
_attackAction.EnableCombo();
_weaponController.AttackStart();
}
@ -303,7 +302,6 @@ public class PlayerController : CharacterBase, IObserver<GameObject>
public void SetAttackComboFalse()
{
if (_currentAction == _attackAction) {
Debug.Log("공격 종료@");
// 이벤트 중복 호출? 공격 종료 시 SetAttackComboFalse가 아니라 ~True로 끝나서 오류 발생. (공격 안하는 상태여도 공격으로 판정됨)
_attackAction.DisableCombo();
_weaponController.AttackEnd(); // IsAttacking = false로 변경

Binary file not shown.

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 87a82613235610c42b7f6f68c6049083
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: