DEG-61 [FEAT] 애니메이션 이벤트 타이밍 수정
This commit is contained in:
parent
0b94f75ec0
commit
0de874ec6b
BIN
Assets/JAY/Animation/CustomAttack01.anim
(Stored with Git LFS)
BIN
Assets/JAY/Animation/CustomAttack01.anim
(Stored with Git LFS)
Binary file not shown.
BIN
Assets/JAY/Animation/CustomAttack02.anim
(Stored with Git LFS)
BIN
Assets/JAY/Animation/CustomAttack02.anim
(Stored with Git LFS)
Binary file not shown.
@ -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로 변경
|
||||
|
BIN
Assets/StoreAssets/stylizedLittleHero/Prefabs/Warrior_M.prefab
(Stored with Git LFS)
BIN
Assets/StoreAssets/stylizedLittleHero/Prefabs/Warrior_M.prefab
(Stored with Git LFS)
Binary file not shown.
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 87a82613235610c42b7f6f68c6049083
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
x
Reference in New Issue
Block a user