DEG-61 [FEAT] 애니메이션 이벤트 타이밍 수정

This commit is contained in:
Jay 2025-05-08 18:10:04 +09:00
parent 0b94f75ec0
commit 0de874ec6b
5 changed files with 4 additions and 16 deletions

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: