진행중인 사항 - InputManager + .inputactions: WeaponSlot1/2/3 액션 추가, 키 1/2/3 매핑 PlayerController 통합: Player에 PlayerWeaponInventory 컴포넌트 자동 부착 OnWeaponChanged 구독 → idle/walk State 이름 동적 교체 OnPunchInput 분기: 무장 시 weapon.AttackRootNode 사용 WeaponSlot 입력 핸들러 3개 추가 (EquipUnarmed / EquipSlot(0) / EquipSlot(1))
21 lines
685 BLFS
Plaintext
21 lines
685 BLFS
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!114 &11400000
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 0}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: 45b80750b5f29714e8386d1330b97550, type: 3}
|
|
m_Name: Sword
|
|
m_EditorClassIdentifier: Assembly-CSharp::WeaponData
|
|
DisplayName: Sword
|
|
Type: 0
|
|
IdleAnimationState: SwordIdle
|
|
WalkAnimationState: SwordRun
|
|
AttackRootNode: {fileID: 11400000, guid: 1a6a2d876e0f2d844ae8e34bec9c86c4, type: 2}
|
|
PickupSprite: {fileID: 21300000, guid: 74358c124c4edfd499a00a236c9c3627, type: 3}
|