진행중인 사항 - 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))
141 lines
2.9 KiBLFS
Plaintext
141 lines
2.9 KiBLFS
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: 526ebe3dc7ff32e4faa2cfcdc1670638, type: 3}
|
|
m_Name: SwordAttack
|
|
m_EditorClassIdentifier: Assembly-CSharp::ActionData
|
|
ActionName: SwordAttack
|
|
AnimationState: SwordAttack
|
|
AnimationSpeed: 1
|
|
AnimationSpeedCurve:
|
|
serializedVersion: 2
|
|
m_Curve:
|
|
- serializedVersion: 3
|
|
time: 0
|
|
value: 1
|
|
inSlope: 0
|
|
outSlope: 0
|
|
tangentMode: 0
|
|
weightedMode: 0
|
|
inWeight: 0
|
|
outWeight: 0
|
|
- serializedVersion: 3
|
|
time: 1
|
|
value: 1
|
|
inSlope: 0
|
|
outSlope: 0
|
|
tangentMode: 0
|
|
weightedMode: 0
|
|
inWeight: 0
|
|
outWeight: 0
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
Cooldown: 0.3
|
|
ComboWindow: 0.25
|
|
HasMotion: 0
|
|
Velocity: {x: 0, y: 0}
|
|
MotionSpeedCurve:
|
|
serializedVersion: 2
|
|
m_Curve:
|
|
- serializedVersion: 3
|
|
time: 0
|
|
value: 1
|
|
inSlope: 0
|
|
outSlope: 0
|
|
tangentMode: 0
|
|
weightedMode: 0
|
|
inWeight: 0
|
|
outWeight: 0
|
|
- serializedVersion: 3
|
|
time: 1
|
|
value: 1
|
|
inSlope: 0
|
|
outSlope: 0
|
|
tangentMode: 0
|
|
weightedMode: 0
|
|
inWeight: 0
|
|
outWeight: 0
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
MotionDuration: 0.3
|
|
CanMoveDuringAction: 0
|
|
CanTurnDuringAction: 0
|
|
UseInputDirection: 1
|
|
PreserveYVelocity: 1
|
|
StopHorizontalVelocityOnEnd: 1
|
|
HasHit: 1
|
|
Offset: {x: 0.8, y: 0}
|
|
Radius: 1
|
|
Damage: 20
|
|
HitTiming: 0.15
|
|
HitDuration: 0
|
|
HitVelocity: {x: 0, y: 0}
|
|
UseHitPositionCorrection: 1
|
|
HitTargetOffset: {x: 0.8, y: 0}
|
|
HitPositionCorrectionDuration: 0.08
|
|
CorrectHitTargetY: 0
|
|
HitReactionAnimationState:
|
|
IsGrab: 0
|
|
GrabOffset: {x: 0.6, y: 0}
|
|
GrabOffsetXCurve:
|
|
serializedVersion: 2
|
|
m_Curve:
|
|
- serializedVersion: 3
|
|
time: 0
|
|
value: 1
|
|
inSlope: 0
|
|
outSlope: 0
|
|
tangentMode: 0
|
|
weightedMode: 0
|
|
inWeight: 0
|
|
outWeight: 0
|
|
- serializedVersion: 3
|
|
time: 1
|
|
value: 1
|
|
inSlope: 0
|
|
outSlope: 0
|
|
tangentMode: 0
|
|
weightedMode: 0
|
|
inWeight: 0
|
|
outWeight: 0
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
GrabOffsetYCurve:
|
|
serializedVersion: 2
|
|
m_Curve:
|
|
- serializedVersion: 3
|
|
time: 0
|
|
value: 1
|
|
inSlope: 0
|
|
outSlope: 0
|
|
tangentMode: 0
|
|
weightedMode: 0
|
|
inWeight: 0
|
|
outWeight: 0
|
|
- serializedVersion: 3
|
|
time: 1
|
|
value: 1
|
|
inSlope: 0
|
|
outSlope: 0
|
|
tangentMode: 0
|
|
weightedMode: 0
|
|
inWeight: 0
|
|
outWeight: 0
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
GrabbedAnimationState:
|
|
GrabSearchRadius: 2
|
|
GrabRange: 0.5
|