진행중인 사항 - 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
676 BLFS
Plaintext
21 lines
676 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: Gun
|
|
m_EditorClassIdentifier: Assembly-CSharp::WeaponData
|
|
DisplayName: Gun
|
|
Type: 1
|
|
IdleAnimationState: GunAim
|
|
WalkAnimationState: GunRun
|
|
AttackRootNode: {fileID: 11400000, guid: eb35a5acd9f93624c96abc0489c9a707, type: 2}
|
|
PickupSprite: {fileID: 21300000, guid: 602cc88075d49f545a5c1bcf95f65236, type: 3}
|