Skip to content

Commit

Permalink
[Fix] : Player 구조 수정 애니메이션과 함수 배운거 활용
Browse files Browse the repository at this point in the history
  • Loading branch information
ThugMS committed Aug 18, 2023
1 parent 51e311c commit 2f936ff
Show file tree
Hide file tree
Showing 20 changed files with 765 additions and 71 deletions.
53 changes: 33 additions & 20 deletions Assets/Animation/Knight.controller
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ AnimatorStateTransition:
m_Name:
m_Conditions:
- m_ConditionMode: 1
m_ConditionEvent: WeakAttack
m_ConditionEvent: command1
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -8057791240626530685}
Expand Down Expand Up @@ -160,7 +160,7 @@ AnimatorStateTransition:
m_Name:
m_Conditions:
- m_ConditionMode: 1
m_ConditionEvent: StrongAttack
m_ConditionEvent: command2
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -8537320831773833425}
Expand Down Expand Up @@ -216,7 +216,8 @@ AnimatorState:
- {fileID: 7596189550609938638}
- {fileID: 4391602376067284568}
- {fileID: -7692983499591473920}
m_StateMachineBehaviours: []
m_StateMachineBehaviours:
- {fileID: 3857382948190790058}
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
Expand Down Expand Up @@ -262,42 +263,42 @@ AnimatorController:
m_Name: Knight
serializedVersion: 5
m_AnimatorParameters:
- m_Name: WeakAttack
m_Type: 9
- m_Name: isIdle
m_Type: 4
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 1
m_Controller: {fileID: 9100000}
- m_Name: Hit
m_Controller: {fileID: 0}
- m_Name: CounterHit
m_Type: 9
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
- m_Name: Counter
m_Controller: {fileID: 0}
- m_Name: command1
m_Type: 9
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
- m_Name: StrongAttack
m_DefaultBool: 1
m_Controller: {fileID: 0}
- m_Name: Hit
m_Type: 9
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
- m_Name: isIdle
m_Type: 4
m_Controller: {fileID: 0}
- m_Name: command2
m_Type: 9
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 1
m_Controller: {fileID: 9100000}
- m_Name: CounterHit
m_DefaultBool: 0
m_Controller: {fileID: 0}
- m_Name: command3
m_Type: 9
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
m_Controller: {fileID: 0}
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
Expand Down Expand Up @@ -389,6 +390,18 @@ AnimatorStateTransition:
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!114 &3857382948190790058
MonoBehaviour:
m_ObjectHideFlags: 1
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: d9fd5b2fc6698964e84be76e217421da, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1101 &4391602376067284568
AnimatorStateTransition:
m_ObjectHideFlags: 1
Expand All @@ -398,7 +411,7 @@ AnimatorStateTransition:
m_Name:
m_Conditions:
- m_ConditionMode: 1
m_ConditionEvent: Counter
m_ConditionEvent: command3
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 8646688346830338460}
Expand Down
9 changes: 8 additions & 1 deletion Assets/Animation/attack.anim
Original file line number Diff line number Diff line change
Expand Up @@ -1133,4 +1133,11 @@ AnimationClip:
script: {fileID: 0}
m_HasGenericRootTransform: 1
m_HasMotionFloatCurves: 0
m_Events: []
m_Events:
- time: 0.2
functionName: FindWeakAttackEnemy
data:
objectReferenceParameter: {fileID: 0}
floatParameter: 0
intParameter: 0
messageOptions: 0
Loading

0 comments on commit 2f936ff

Please sign in to comment.