Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
dd827bee2f
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -29,7 +29,7 @@ AnimationClip:
|
|||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.23333333
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -90,7 +90,7 @@ AnimationClip:
|
|||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 0.33333334
|
||||
m_StopTime: 0.41666666
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
|
@ -112,7 +112,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1.1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -121,7 +121,7 @@ AnimationClip:
|
|||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.23333333
|
||||
value: 1
|
||||
value: -1.1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -200,7 +200,7 @@ AnimationClip:
|
|||
m_HasGenericRootTransform: 1
|
||||
m_HasMotionFloatCurves: 0
|
||||
m_Events:
|
||||
- time: 0.33333334
|
||||
- time: 0.41666666
|
||||
functionName: DestroyGameobject
|
||||
data:
|
||||
objectReferenceParameter: {fileID: 0}
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -97,7 +97,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1.1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -29,7 +29,7 @@ AnimationClip:
|
|||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.23333333
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -90,7 +90,7 @@ AnimationClip:
|
|||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 0.33333334
|
||||
m_StopTime: 0.41666666
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
|
@ -112,7 +112,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1.1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -121,7 +121,7 @@ AnimationClip:
|
|||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.23333333
|
||||
value: 1
|
||||
value: -1.1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -200,7 +200,7 @@ AnimationClip:
|
|||
m_HasGenericRootTransform: 1
|
||||
m_HasMotionFloatCurves: 0
|
||||
m_Events:
|
||||
- time: 0.33333334
|
||||
- time: 0.41666666
|
||||
functionName: DestroyGameobject
|
||||
data:
|
||||
objectReferenceParameter: {fileID: 0}
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -97,7 +97,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1.1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -62,7 +62,7 @@ AnimatorStateTransition:
|
|||
m_Name:
|
||||
m_Conditions:
|
||||
- m_ConditionMode: 1
|
||||
m_ConditionEvent: Strangler
|
||||
m_ConditionEvent: Strangle
|
||||
m_EventTreshold: 0
|
||||
m_DstStateMachine: {fileID: 0}
|
||||
m_DstState: {fileID: 5001590403131153829}
|
||||
|
@ -119,13 +119,13 @@ AnimatorController:
|
|||
m_DefaultFloat: 0
|
||||
m_DefaultInt: 0
|
||||
m_DefaultBool: 0
|
||||
m_Controller: {fileID: 9100000}
|
||||
- m_Name: Strangler
|
||||
m_Controller: {fileID: 0}
|
||||
- m_Name: Strangle
|
||||
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
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -29,7 +29,16 @@ AnimationClip:
|
|||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.23333333
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.5
|
||||
value: {x: -1.1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -47,10 +56,10 @@ AnimationClip:
|
|||
curve:
|
||||
- time: 0
|
||||
value: {fileID: 21300000, guid: 52bfa0c35d09d3d4ea7707eb897af446, type: 3}
|
||||
- time: 0.11666667
|
||||
value: {fileID: 21300000, guid: 5fb5a5ee14104284abd140c8254a3489, type: 3}
|
||||
- time: 0.23333333
|
||||
value: {fileID: 21300000, guid: 13cac21306a78c94a968940a189e23ef, type: 3}
|
||||
- time: 0.5
|
||||
value: {fileID: 21300000, guid: 13cac21306a78c94a968940a189e23ef, type: 3}
|
||||
attribute: m_Sprite
|
||||
path:
|
||||
classID: 212
|
||||
|
@ -83,14 +92,14 @@ AnimationClip:
|
|||
isSerializeReferenceCurve: 0
|
||||
pptrCurveMapping:
|
||||
- {fileID: 21300000, guid: 52bfa0c35d09d3d4ea7707eb897af446, type: 3}
|
||||
- {fileID: 21300000, guid: 5fb5a5ee14104284abd140c8254a3489, type: 3}
|
||||
- {fileID: 21300000, guid: 13cac21306a78c94a968940a189e23ef, type: 3}
|
||||
- {fileID: 21300000, guid: 13cac21306a78c94a968940a189e23ef, type: 3}
|
||||
m_AnimationClipSettings:
|
||||
serializedVersion: 2
|
||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 0.33333334
|
||||
m_StopTime: 0.51666665
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
|
@ -112,7 +121,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1.1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -121,7 +130,16 @@ AnimationClip:
|
|||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.23333333
|
||||
value: 1
|
||||
value: -1.1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.5
|
||||
value: -1.1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -158,6 +176,15 @@ AnimationClip:
|
|||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.5
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
|
@ -188,6 +215,15 @@ AnimationClip:
|
|||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.5
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
|
@ -200,7 +236,7 @@ AnimationClip:
|
|||
m_HasGenericRootTransform: 1
|
||||
m_HasMotionFloatCurves: 0
|
||||
m_Events:
|
||||
- time: 0.33333334
|
||||
- time: 0.5
|
||||
functionName: DestroyGameobject
|
||||
data:
|
||||
objectReferenceParameter: {fileID: 0}
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -97,7 +97,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1.1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -29,7 +29,7 @@ AnimationClip:
|
|||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.3
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -115,7 +115,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -124,7 +124,7 @@ AnimationClip:
|
|||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.3
|
||||
value: 1
|
||||
value: -1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -97,7 +97,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -29,7 +29,7 @@ AnimationClip:
|
|||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.3
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -115,7 +115,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -124,7 +124,7 @@ AnimationClip:
|
|||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.3
|
||||
value: 1
|
||||
value: -1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -97,7 +97,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -29,7 +29,7 @@ AnimationClip:
|
|||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.3
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -115,7 +115,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -124,7 +124,7 @@ AnimationClip:
|
|||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.3
|
||||
value: 1
|
||||
value: -1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -97,7 +97,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -2.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -29,7 +29,7 @@ AnimationClip:
|
|||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.3
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -2.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -115,7 +115,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -2.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -124,7 +124,7 @@ AnimationClip:
|
|||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.3
|
||||
value: 1
|
||||
value: -2.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -2.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -97,7 +97,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -2.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -2.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -29,7 +29,7 @@ AnimationClip:
|
|||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.3
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -2.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -115,7 +115,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -2.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -124,7 +124,7 @@ AnimationClip:
|
|||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.3
|
||||
value: 1
|
||||
value: -2.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -2.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -97,7 +97,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -2.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -2.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -29,7 +29,7 @@ AnimationClip:
|
|||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.3
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -2.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -115,7 +115,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -2.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -124,7 +124,7 @@ AnimationClip:
|
|||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.3
|
||||
value: 1
|
||||
value: -2.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -2.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -97,7 +97,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -2.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -29,7 +29,7 @@ AnimationClip:
|
|||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.23333333
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -112,7 +112,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -121,7 +121,7 @@ AnimationClip:
|
|||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.23333333
|
||||
value: 1
|
||||
value: -1.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -97,7 +97,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -29,7 +29,7 @@ AnimationClip:
|
|||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.23333333
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -112,7 +112,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -121,7 +121,7 @@ AnimationClip:
|
|||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.23333333
|
||||
value: 1
|
||||
value: -1.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -97,7 +97,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -29,7 +29,7 @@ AnimationClip:
|
|||
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
|
||||
- serializedVersion: 3
|
||||
time: 0.23333333
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -112,7 +112,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
@ -121,7 +121,7 @@ AnimationClip:
|
|||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.23333333
|
||||
value: 1
|
||||
value: -1.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -20,7 +20,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: {x: 1, y: 0, z: 0}
|
||||
value: {x: -1.2, y: 0, z: 0}
|
||||
inSlope: {x: 0, y: 0, z: 0}
|
||||
outSlope: {x: 0, y: 0, z: 0}
|
||||
tangentMode: 0
|
||||
|
@ -97,7 +97,7 @@ AnimationClip:
|
|||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
value: -1.2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
|
|
|
@ -36,7 +36,6 @@ MonoBehaviour:
|
|||
- {fileID: 8300000, guid: 2fc5510c93077614ea99731a8e690f6b, type: 3}
|
||||
- {fileID: 8300000, guid: 27f2cebd20efe6a4faf50b23ad487154, type: 3}
|
||||
- {fileID: 8300000, guid: fc82c40acffc19741a0707c947a1d767, type: 3}
|
||||
- {fileID: 8300000, guid: 2a5efb61897b6af4ab3ecae350829b5c, type: 3}
|
||||
- {fileID: 8300000, guid: 6778ae1bc0a92c64d8ba759c3c13727d, type: 3}
|
||||
- {fileID: 8300000, guid: 7182af998117fba4fa696e5fd33ad99a, type: 3}
|
||||
- {fileID: 8300000, guid: 88b0c2079547b85458daa063fb59e720, type: 3}
|
||||
|
@ -44,3 +43,4 @@ MonoBehaviour:
|
|||
- {fileID: 8300000, guid: 8abb5f3f03f30f842b9d673933bdafb4, type: 3}
|
||||
- {fileID: 8300000, guid: f68b9fed55ed886479faaf1b33c59651, type: 3}
|
||||
- {fileID: 8300000, guid: e24c2fccb4285ab4eacc6da16f5c62eb, type: 3}
|
||||
- {fileID: 8300000, guid: fd92966d4cde3244d9a711094cb947f6, type: 3}
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4d9817ed7f73fc14db871e07a93a5931
|
||||
guid: fd92966d4cde3244d9a711094cb947f6
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 7
|
|
@ -203,6 +203,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &6905705041633878913
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 3477818934881411113}
|
||||
- component: {fileID: 58401337460216238}
|
||||
- component: {fileID: 8428770856484636299}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy1V1
|
||||
m_TagString: Enemy
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &3477818934881411113
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 0
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 8428770856484636299}
|
||||
--- !u!70 &58401337460216238
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -375,6 +378,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: 0, y: 0}
|
||||
m_Size: {x: 1, y: 2}
|
||||
m_Direction: 0
|
||||
--- !u!50 &8428770856484636299
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &8030114481966789124
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &6905705041633878913
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -133,6 +134,7 @@ GameObject:
|
|||
- component: {fileID: -7368324163293952402}
|
||||
- component: {fileID: 1203571175389907979}
|
||||
- component: {fileID: 4546369442828517320}
|
||||
- component: {fileID: 8111329671581128041}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy1V2
|
||||
m_TagString: Enemy
|
||||
|
@ -218,7 +220,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &1203571175389907979
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -231,7 +233,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 0
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 8111329671581128041}
|
||||
--- !u!70 &4546369442828517320
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -267,6 +270,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: 0, y: 0}
|
||||
m_Size: {x: 1, y: 2}
|
||||
m_Direction: 0
|
||||
--- !u!50 &8111329671581128041
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1 &7260092502815078262
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &5264004513177534146
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -217,6 +218,7 @@ GameObject:
|
|||
- component: {fileID: -99408799291400877}
|
||||
- component: {fileID: 7065122129502476799}
|
||||
- component: {fileID: 1757117162005437690}
|
||||
- component: {fileID: 7639895946029500357}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy1V3
|
||||
m_TagString: Enemy
|
||||
|
@ -302,7 +304,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &7065122129502476799
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -315,7 +317,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 0
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 7639895946029500357}
|
||||
--- !u!70 &1757117162005437690
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -351,6 +354,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: 0, y: 0}
|
||||
m_Size: {x: 1, y: 2}
|
||||
m_Direction: 0
|
||||
--- !u!50 &7639895946029500357
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &316838467825944121
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &6905705041633878913
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -134,6 +135,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 8407687426537136098}
|
||||
- component: {fileID: 5347138904714296145}
|
||||
- component: {fileID: 8131507713407366277}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy2V1
|
||||
m_TagString: Enemy
|
||||
|
@ -171,7 +173,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 110
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -242,7 +244,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &8407687426537136098
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -255,7 +257,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 0
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 8131507713407366277}
|
||||
--- !u!70 &5347138904714296145
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -291,6 +294,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: 0.15, y: 0}
|
||||
m_Size: {x: 1.25, y: 2.25}
|
||||
m_Direction: 0
|
||||
--- !u!50 &8131507713407366277
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1 &7184157512170153992
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &6240986660682715275
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 2239829156743597080}
|
||||
- component: {fileID: 9116721273772261298}
|
||||
- component: {fileID: 833665078815953586}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy2V2
|
||||
m_TagString: Enemy
|
||||
|
@ -255,7 +257,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 110
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &2239829156743597080
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 0
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 833665078815953586}
|
||||
--- !u!70 &9116721273772261298
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -375,6 +378,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: 0.15, y: 0}
|
||||
m_Size: {x: 1.25, y: 2.25}
|
||||
m_Direction: 0
|
||||
--- !u!50 &833665078815953586
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &861944024263757089
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &737291232160764410
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 2593167518683313509}
|
||||
- component: {fileID: 1597969697045467354}
|
||||
- component: {fileID: 7183425510269105097}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy2V3
|
||||
m_TagString: Enemy
|
||||
|
@ -255,7 +257,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 110
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &2593167518683313509
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 0
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 7183425510269105097}
|
||||
--- !u!70 &1597969697045467354
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -375,6 +378,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: 0.15, y: 0}
|
||||
m_Size: {x: 1.25, y: 2.25}
|
||||
m_Direction: 0
|
||||
--- !u!50 &7183425510269105097
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &2911733727042986953
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &6905705041633878913
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -129,11 +130,11 @@ GameObject:
|
|||
m_Component:
|
||||
- component: {fileID: 3920219362688286786}
|
||||
- component: {fileID: 2938081276856164938}
|
||||
- component: {fileID: 944314729512195366}
|
||||
- component: {fileID: 8373694659570615877}
|
||||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 5601190281078907372}
|
||||
- component: {fileID: 5775148875117303771}
|
||||
- component: {fileID: 1792220776575088205}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy3V1
|
||||
m_TagString: Enemy
|
||||
|
@ -171,30 +172,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
OnHealthChange:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
minThreshold: 1
|
||||
squezeDamageScalor: 1
|
||||
--- !u!114 &944314729512195366
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1fdfc885f1a69704b893825cf9e616ba, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 130
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -242,7 +220,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &5601190281078907372
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -255,7 +233,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 1
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 1792220776575088205}
|
||||
--- !u!70 &5775148875117303771
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -291,6 +270,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: 0, y: -0.25}
|
||||
m_Size: {x: 2.03, y: 3.01}
|
||||
m_Direction: 0
|
||||
--- !u!50 &1792220776575088205
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1 &8726065711573869828
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &5163044581904956856
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 5537633588480359369}
|
||||
- component: {fileID: 629574706924414947}
|
||||
- component: {fileID: 799119378079257124}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy3V2
|
||||
m_TagString: Enemy
|
||||
|
@ -255,7 +257,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 130
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &5537633588480359369
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 1
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 799119378079257124}
|
||||
--- !u!70 &629574706924414947
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -375,6 +378,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: 0, y: -0.25}
|
||||
m_Size: {x: 2.03, y: 3.01}
|
||||
m_Direction: 0
|
||||
--- !u!50 &799119378079257124
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &4591666118570224065
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &5743397826554235676
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 5342177024833758816}
|
||||
- component: {fileID: 9180341162620792323}
|
||||
- component: {fileID: 8845322091694779043}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy3V3
|
||||
m_TagString: Enemy
|
||||
|
@ -255,7 +257,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 130
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &5342177024833758816
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 1
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 8845322091694779043}
|
||||
--- !u!70 &9180341162620792323
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -375,6 +378,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: 0, y: -0.25}
|
||||
m_Size: {x: 2.03, y: 3.01}
|
||||
m_Direction: 0
|
||||
--- !u!50 &8845322091694779043
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &4814295387499624289
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &6905705041633878913
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -134,6 +135,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 6703538002322560484}
|
||||
- component: {fileID: 1593837753105570956}
|
||||
- component: {fileID: 6845376844323151706}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy4V1
|
||||
m_TagString: Enemy
|
||||
|
@ -171,7 +173,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 160
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -242,7 +244,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &6703538002322560484
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -255,7 +257,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 1
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 6845376844323151706}
|
||||
--- !u!70 &1593837753105570956
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -291,6 +294,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: -0.5, y: 0}
|
||||
m_Size: {x: 2.65, y: 3}
|
||||
m_Direction: 0
|
||||
--- !u!50 &6845376844323151706
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1 &8107784507586138233
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &3503255070657254113
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 5189432348483020584}
|
||||
- component: {fileID: 6992716262122209801}
|
||||
- component: {fileID: 4819874625761020595}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy4V2
|
||||
m_TagString: Enemy
|
||||
|
@ -255,7 +257,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 160
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &5189432348483020584
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 1
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 4819874625761020595}
|
||||
--- !u!70 &6992716262122209801
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -375,6 +378,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: -0.5, y: 0}
|
||||
m_Size: {x: 2.65, y: 3}
|
||||
m_Direction: 0
|
||||
--- !u!50 &4819874625761020595
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &5086109831227315773
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &6550912095123086306
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 8229201628275188815}
|
||||
- component: {fileID: 5275513863136233879}
|
||||
- component: {fileID: 3466740024957840811}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy4V3
|
||||
m_TagString: Enemy
|
||||
|
@ -255,7 +257,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 160
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &8229201628275188815
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 1
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 3466740024957840811}
|
||||
--- !u!70 &5275513863136233879
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -375,6 +378,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: -0.5, y: 0}
|
||||
m_Size: {x: 2.65, y: 3}
|
||||
m_Direction: 0
|
||||
--- !u!50 &3466740024957840811
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &4352670561598918136
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &4734876489558749316
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 17691115352120009}
|
||||
- component: {fileID: 853766927484383816}
|
||||
- component: {fileID: 2397480649246164426}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy5V1
|
||||
m_TagString: Enemy
|
||||
|
@ -255,7 +257,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 250
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &17691115352120009
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 1
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 2397480649246164426}
|
||||
--- !u!70 &853766927484383816
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -375,6 +378,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: 0, y: 0}
|
||||
m_Size: {x: 2.5, y: 5.75}
|
||||
m_Direction: 0
|
||||
--- !u!50 &2397480649246164426
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &1544961106352958877
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &6538858291398231023
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 893626435943606516}
|
||||
- component: {fileID: 1353826037353208613}
|
||||
- component: {fileID: 1166639589295390852}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy5V2
|
||||
m_TagString: Enemy
|
||||
|
@ -255,7 +257,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 250
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &893626435943606516
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 1
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 1166639589295390852}
|
||||
--- !u!70 &1353826037353208613
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -375,6 +378,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: 0, y: 0}
|
||||
m_Size: {x: 2.5, y: 5.75}
|
||||
m_Direction: 0
|
||||
--- !u!50 &1166639589295390852
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &5603902875862274868
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &2232121724853526948
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 2019234432969631736}
|
||||
- component: {fileID: 1104779658182803384}
|
||||
- component: {fileID: 6053117177104604418}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy5V3
|
||||
m_TagString: Enemy
|
||||
|
@ -255,7 +257,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 250
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &2019234432969631736
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 1
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 6053117177104604418}
|
||||
--- !u!70 &1104779658182803384
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -375,6 +378,33 @@ CapsuleCollider2D:
|
|||
m_Offset: {x: 0, y: 0}
|
||||
m_Size: {x: 2.5, y: 5.75}
|
||||
m_Direction: 0
|
||||
--- !u!50 &6053117177104604418
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &2018686273432440032
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &1533843569211901549
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 4552190225719755244}
|
||||
- component: {fileID: 7675421169139995944}
|
||||
- component: {fileID: 2639723550158062772}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy6V1
|
||||
m_TagString: Enemy
|
||||
|
@ -255,7 +257,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 180
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &4552190225719755244
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 1
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 2639723550158062772}
|
||||
--- !u!70 &7675421169139995944
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -372,9 +375,36 @@ CapsuleCollider2D:
|
|||
m_IsTrigger: 0
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: -0.09, y: -0.17}
|
||||
m_Size: {x: 1.66, y: 2.62}
|
||||
m_Offset: {x: -0.09, y: -0.37}
|
||||
m_Size: {x: 1.66, y: 2.09}
|
||||
m_Direction: 0
|
||||
--- !u!50 &2639723550158062772
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &412850958765099122
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &6191794988166842775
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 7803025104266690665}
|
||||
- component: {fileID: 4435590555684305438}
|
||||
- component: {fileID: 9140022268088615716}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy6V2
|
||||
m_TagString: Enemy
|
||||
|
@ -255,7 +257,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 180
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &7803025104266690665
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 1
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 9140022268088615716}
|
||||
--- !u!70 &4435590555684305438
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -372,9 +375,36 @@ CapsuleCollider2D:
|
|||
m_IsTrigger: 0
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: -0.09, y: -0.17}
|
||||
m_Size: {x: 1.66, y: 2.62}
|
||||
m_Offset: {x: -0.09, y: -0.37}
|
||||
m_Size: {x: 1.66, y: 2.09}
|
||||
m_Direction: 0
|
||||
--- !u!50 &9140022268088615716
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &8420911966130886246
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -119,6 +119,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 9fa05ebd2f063df4a8079e013369f78b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
healthBar: {fileID: 0}
|
||||
--- !u!1 &1602580555763979504
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -218,6 +219,7 @@ GameObject:
|
|||
- component: {fileID: -1793628155013383594}
|
||||
- component: {fileID: 316906110964971930}
|
||||
- component: {fileID: 3935275739920240744}
|
||||
- component: {fileID: 1721532817145052869}
|
||||
m_Layer: 0
|
||||
m_Name: Enemy6V3
|
||||
m_TagString: Enemy
|
||||
|
@ -255,7 +257,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
onlyCallZeroHealthOnce: 1
|
||||
maxHealth: 100
|
||||
maxHealth: 180
|
||||
damageTickDelay: 0.25
|
||||
OnHealthZero:
|
||||
m_PersistentCalls:
|
||||
|
@ -326,7 +328,7 @@ MonoBehaviour:
|
|||
ropeDistCheck: 1
|
||||
ropeCheckMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 64
|
||||
--- !u!114 &316906110964971930
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -339,7 +341,8 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c66441ada081b6c4c841000e83cc2b7a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
invert: 1
|
||||
flipTrans: {fileID: 3920219362688286786}
|
||||
body: {fileID: 1721532817145052869}
|
||||
--- !u!70 &3935275739920240744
|
||||
CapsuleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -372,9 +375,36 @@ CapsuleCollider2D:
|
|||
m_IsTrigger: 0
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: -0.09, y: -0.17}
|
||||
m_Size: {x: 1.66, y: 2.62}
|
||||
m_Offset: {x: -0.09, y: -0.37}
|
||||
m_Size: {x: 1.66, y: 2.09}
|
||||
m_Direction: 0
|
||||
--- !u!50 &1721532817145052869
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6905705041633878913}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
--- !u!1001 &7644200986374021475
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -1102,6 +1102,140 @@ CanvasRenderer:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 538127010}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1 &557837175
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 557837176}
|
||||
- component: {fileID: 557837178}
|
||||
- component: {fileID: 557837177}
|
||||
m_Layer: 5
|
||||
m_Name: Description
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &557837176
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 557837175}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1197965563}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 1}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 25}
|
||||
m_SizeDelta: {x: 200, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &557837177
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 557837175}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text:
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
m_fontColor32:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_enableVertexGradient: 0
|
||||
m_colorMode: 3
|
||||
m_fontColorGradient:
|
||||
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_fontColorGradientPreset: {fileID: 0}
|
||||
m_spriteAsset: {fileID: 0}
|
||||
m_tintAllSprites: 0
|
||||
m_StyleSheet: {fileID: 0}
|
||||
m_TextStyleHashCode: -1183493901
|
||||
m_overrideHtmlColors: 0
|
||||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 36
|
||||
m_fontSizeBase: 36
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 2
|
||||
m_VerticalAlignment: 256
|
||||
m_textAlignment: 65535
|
||||
m_characterSpacing: 0
|
||||
m_wordSpacing: 0
|
||||
m_lineSpacing: 0
|
||||
m_lineSpacingMax: 0
|
||||
m_paragraphSpacing: 0
|
||||
m_charWidthMaxAdj: 0
|
||||
m_enableWordWrapping: 1
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
parentLinkedComponent: {fileID: 0}
|
||||
m_enableKerning: 1
|
||||
m_enableExtraPadding: 0
|
||||
checkPaddingRequired: 0
|
||||
m_isRichText: 1
|
||||
m_parseCtrlCharacters: 1
|
||||
m_isOrthographic: 1
|
||||
m_isCullingEnabled: 0
|
||||
m_horizontalMapping: 0
|
||||
m_verticalMapping: 0
|
||||
m_uvLineOffset: 0
|
||||
m_geometrySortingOrder: 0
|
||||
m_IsTextObjectScaleStatic: 0
|
||||
m_VertexBufferAutoSizeReduction: 0
|
||||
m_useMaxVisibleDescender: 1
|
||||
m_pageToDisplay: 1
|
||||
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_isUsingLegacyAnimationComponent: 0
|
||||
m_isVolumetricText: 0
|
||||
m_hasFontAssetChanged: 0
|
||||
m_baseMaterial: {fileID: 0}
|
||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||
--- !u!222 &557837178
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 557837175}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1 &761043861
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -1466,6 +1600,7 @@ RectTransform:
|
|||
- {fileID: 268970235}
|
||||
- {fileID: 1208295405}
|
||||
- {fileID: 761043862}
|
||||
- {fileID: 557837176}
|
||||
m_Father: {fileID: 185592112}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
|
@ -1536,6 +1671,7 @@ MonoBehaviour:
|
|||
reelIncrease: 1.1
|
||||
upgradeCost: 100000
|
||||
BloodMeter: {fileID: 268970236}
|
||||
description: {fileID: 0}
|
||||
--- !u!95 &1197965567
|
||||
Animator:
|
||||
serializedVersion: 5
|
||||
|
|
|
@ -246,6 +246,63 @@ Transform:
|
|||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1001 &340610726
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 3920219362688286786, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -17.30016
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -9.757746
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6905705041633878913, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Enemy4V1
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
--- !u!1 &362707003
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -448,6 +505,63 @@ Transform:
|
|||
- {fileID: 147729522}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1001 &630240075
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 3920219362688286786, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -3.5504682
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -6.554695
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6905705041633878913, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Enemy5V1
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
--- !u!1001 &869964773
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -535,6 +649,63 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 4aabce12c1341ff488ee4dc806fd80e8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1001 &1143774969
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 3920219362688286786, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -15.112709
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -1.3204403
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6905705041633878913, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Enemy2V1
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
--- !u!1001 &1229295200
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -1097,3 +1268,6 @@ SceneRoots:
|
|||
- {fileID: 869964773}
|
||||
- {fileID: 483723115}
|
||||
- {fileID: 1920006249}
|
||||
- {fileID: 1143774969}
|
||||
- {fileID: 630240075}
|
||||
- {fileID: 340610726}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -954,6 +954,50 @@ Animation:
|
|||
m_PlayAutomatically: 1
|
||||
m_AnimatePhysics: 0
|
||||
m_CullingType: 0
|
||||
--- !u!1 &576358554
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 576358556}
|
||||
- component: {fileID: 576358555}
|
||||
m_Layer: 0
|
||||
m_Name: Sounds
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &576358555
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 576358554}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 040287643b9fdae4095a418d31927fde, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!4 &576358556
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 576358554}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -14.201913, y: -13.266354, z: 10.06106}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &595937125
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -2141,3 +2185,4 @@ SceneRoots:
|
|||
- {fileID: 2132464283}
|
||||
- {fileID: 1304688535}
|
||||
- {fileID: 2057478380}
|
||||
- {fileID: 576358556}
|
||||
|
|
|
@ -131,10 +131,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: ad94da4dcc3c6204494b1b223e3ad6bd, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 180
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: ad94da4dcc3c6204494b1b223e3ad6bd, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 5.060853
|
||||
|
@ -192,10 +188,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: 39cfda8bd2b0ae8438cdc0c54355b57a, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 180
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 39cfda8bd2b0ae8438cdc0c54355b57a, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 8.718343
|
||||
|
@ -253,10 +245,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: 8def55d0ae3630644b661b55945b88ab, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 250
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 8def55d0ae3630644b661b55945b88ab, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -11.131151
|
||||
|
@ -314,10 +302,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: 8e3efe9ba9a961e4883e6d4b3bede1b3, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 160
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 8e3efe9ba9a961e4883e6d4b3bede1b3, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 2.8130238
|
||||
|
@ -375,10 +359,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: af739fea850caf944ac8c1932d2ec386, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 180
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: af739fea850caf944ac8c1932d2ec386, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 6.8515005
|
||||
|
@ -573,10 +553,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: 29618f067a17cd94eb329fa634e06f5a, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 160
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 29618f067a17cd94eb329fa634e06f5a, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -4.2352614
|
||||
|
@ -634,10 +610,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: 363f3bb5d515d994ea8bfb37232263b0, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 130
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 363f3bb5d515d994ea8bfb37232263b0, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -3.7018778
|
||||
|
@ -695,10 +667,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 160
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 0dc1cd5eb961eb049b13867a3bff4396, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -11.016855
|
||||
|
@ -756,10 +724,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: 23e5e0951502e6d49bc400d919073d4b, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 130
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 23e5e0951502e6d49bc400d919073d4b, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -0.9206641
|
||||
|
@ -817,10 +781,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 250
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: cc70504ee89b0b74fac0167fd3c76bdd, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -14.902936
|
||||
|
@ -878,10 +838,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 110
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: f808ad67f6a747241a310437e433c828, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -2.4065187
|
||||
|
@ -996,10 +952,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: 40512b69b08d56d498aa78823087362c, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 130
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 40512b69b08d56d498aa78823087362c, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -7.5879583
|
||||
|
@ -1239,10 +1191,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: f48e8133073214446b0889b26d867b03, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 110
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: f48e8133073214446b0889b26d867b03, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0.18420205
|
||||
|
@ -1300,10 +1248,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: fa674b5c4ab900d439c6188142bfd1b5, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 250
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: fa674b5c4ab900d439c6188142bfd1b5, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -15.0934305
|
||||
|
@ -1361,10 +1305,6 @@ PrefabInstance:
|
|||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2938081276856164938, guid: 8c660e9fc6ef07843a373f99149d1849, type: 3}
|
||||
propertyPath: maxHealth
|
||||
value: 110
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3920219362688286786, guid: 8c660e9fc6ef07843a373f99149d1849, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 2.8892193
|
||||
|
|
|
@ -17,6 +17,6 @@ public class PS5Controller : MonoBehaviour
|
|||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
Gamepad.all[0].SetMotorSpeeds(100, 100);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,8 @@ public class EnemyAnimationHandler : MonoBehaviour
|
|||
{
|
||||
Animator animator;
|
||||
bool isDying = false;
|
||||
|
||||
public GameObject healthBar;
|
||||
void Start()
|
||||
{
|
||||
animator = GetComponent<Animator>();
|
||||
|
@ -17,8 +19,9 @@ public class EnemyAnimationHandler : MonoBehaviour
|
|||
}
|
||||
void EnemyDie()
|
||||
{
|
||||
//GetComponent<Collider2D>().enabled = false;
|
||||
//GetComponent<NavMeshAgent>().enabled = false;
|
||||
GetComponentInParent<Collider2D>().enabled = false;
|
||||
GetComponentInParent<NavMeshAgent>().enabled = false;
|
||||
|
||||
if (!isDying)
|
||||
StartCoroutine(AnimationDie());
|
||||
isDying = true;
|
||||
|
@ -39,6 +42,7 @@ public class EnemyAnimationHandler : MonoBehaviour
|
|||
public void Die()
|
||||
{
|
||||
animator.SetTrigger("Die");
|
||||
AudioManager.PlaySound("Slice_Enemy_SFX", transform.position).volume = 0.65f;
|
||||
}
|
||||
public void DestroyGameobject()
|
||||
{
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Unity.Mathematics;
|
||||
|
||||
public static class FloatExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Refrence link: https://forum.unity.com/attachments/upload_2021-1-14_13-8-33-png.773578/
|
||||
/// </summary>
|
||||
public static float Remap(this float from, float fromMin, float fromMax, float toMin, float toMax)
|
||||
{
|
||||
var fromAbs = from - fromMin;
|
||||
var fromMaxAbs = fromMax - fromMin;
|
||||
|
||||
var normal = fromAbs / fromMaxAbs;
|
||||
|
||||
var toMaxAbs = toMax - toMin;
|
||||
var toAbs = toMaxAbs * normal;
|
||||
|
||||
var to = toAbs + toMin;
|
||||
|
||||
return to;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Just clamps the value between two numbers (Easier to write)
|
||||
/// </summary>
|
||||
public static float Clamp(this float input, float min, float max) => math.clamp(input, min, max);
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f285fcef3bcd16648a7d1bc02576bad3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,3 +1,5 @@
|
|||
using System.Collections.Generic;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace UnityUtils
|
||||
|
@ -56,5 +58,22 @@ namespace UnityUtils
|
|||
v1.y != 0 ? v0.y / v1.y : v0.y,
|
||||
v1.z != 0 ? v0.z / v1.z : v0.z);
|
||||
}
|
||||
public static Vector3 Mean(this List<Vector3> vectors)
|
||||
{
|
||||
if (vectors == null || vectors.Count == 0)
|
||||
{
|
||||
throw new ArgumentException("The input list of vectors is empty or null.");
|
||||
}
|
||||
|
||||
Vector3 sum = Vector3.zero;
|
||||
|
||||
foreach (var vector in vectors)
|
||||
{
|
||||
sum += vector;
|
||||
}
|
||||
|
||||
return sum / vectors.Count;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ public class AudioManager : MonoBehaviour
|
|||
return Instance.audioLibrary.Clips.First(x => x.name == nameOfClip);
|
||||
}
|
||||
|
||||
public static AudioSource PlaySound(string nameOfClip, Vector3 sourcePos, bool is3D = true, bool loop = false, bool fadeIn = false)
|
||||
public static AudioSource PlaySound(string nameOfClip, Vector3 sourcePos, bool manuallyHandle = false, bool is3D = true, bool loop = false, bool fadeIn = false)
|
||||
{
|
||||
if (Instance == null)
|
||||
{
|
||||
|
@ -57,6 +57,7 @@ public class AudioManager : MonoBehaviour
|
|||
audioSource.spatialBlend = 1f;
|
||||
}
|
||||
|
||||
if (!manuallyHandle)
|
||||
Instance.StartCoroutine(Instance.StartSound(audioSource, fadeIn));
|
||||
return audioSource;
|
||||
}
|
||||
|
|
|
@ -14,11 +14,13 @@ public class HealthBar : MonoBehaviour
|
|||
|
||||
private void OnEnable()
|
||||
{
|
||||
if (healthBarImg != null)
|
||||
attachedHealth.OnHealthChange.AddListener(UpdateHealthBar);
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
if (healthBarImg != null)
|
||||
attachedHealth.OnHealthChange.RemoveListener(UpdateHealthBar);
|
||||
}
|
||||
|
||||
|
@ -26,5 +28,13 @@ public class HealthBar : MonoBehaviour
|
|||
{
|
||||
float percent = newHealth / attachedHealth.getMaxHealth();
|
||||
healthBarImg.fillAmount = percent;
|
||||
if (percent <= 0)
|
||||
{
|
||||
for (int i = 0; i < transform.childCount; i++)
|
||||
{
|
||||
transform.GetChild(i).gameObject.SetActive(false);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class MainMenuMusic : MonoBehaviour
|
||||
{
|
||||
void Start()
|
||||
{
|
||||
AudioManager.PlaySound("", new Vector3(0f, 0f, 0f)).volume = 1f;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 040287643b9fdae4095a418d31927fde
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -74,12 +74,15 @@ public class HealthComponent : MonoBehaviour, ISquezeDamageReceiver
|
|||
|
||||
OnHealthZero?.Invoke();
|
||||
|
||||
if (BloodComputeShader.Instance != null)
|
||||
{
|
||||
int blood = (int)(maxHealth * 100.0f * BloodComputeShader.Instance.scoreMult);
|
||||
|
||||
BloodComputeShader.Instance.createBlood(transform.position, blood / 2, maxHealth / 8.0f);
|
||||
BloodComputeShader.Instance.createBlood(transform.position, blood / 2, maxHealth / 8.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void TakeSquezeDamage(float squezeDamage)
|
||||
{
|
||||
|
|
|
@ -3,6 +3,8 @@ using System.Collections.Generic;
|
|||
using UnityEngine;
|
||||
using UnityEngine.InputSystem;
|
||||
using System.Linq;
|
||||
using UnityEngine.Windows;
|
||||
using UnityEngine.InputSystem.DualShock;
|
||||
|
||||
[RequireComponent(typeof(PlayerInput))]
|
||||
public class PlayerMovement : MonoBehaviour
|
||||
|
@ -13,11 +15,6 @@ public class PlayerMovement : MonoBehaviour
|
|||
|
||||
private bool right = false;
|
||||
|
||||
private bool vibrate = false;
|
||||
[SerializeField] private float stepCooldown = 0.05f;
|
||||
[SerializeField] private float stepVibrationTime = 0.05f;
|
||||
|
||||
[SerializeField] private GameObject rumble;
|
||||
|
||||
[Header("Whipping")]
|
||||
[SerializeField]
|
||||
|
@ -31,29 +28,26 @@ public class PlayerMovement : MonoBehaviour
|
|||
|
||||
private PlayerInput playerInput;
|
||||
|
||||
private HealthComponent hp;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
rb = GetComponent<Rigidbody2D>();
|
||||
playerInput = GetComponent<PlayerInput>();
|
||||
hp = GetComponent<HealthComponent>();
|
||||
|
||||
if (gameObject.name == "Player2")
|
||||
{
|
||||
playerInput.useArrowKeys = true;
|
||||
}
|
||||
|
||||
StartCoroutine(ToggleWithDelay());
|
||||
}
|
||||
if (playerInput.controller != null)
|
||||
{
|
||||
var pad = (DualShockGamepad)Gamepad.all.ElementAtOrDefault(playerInput.PlayerNum);
|
||||
if (pad == null) return;
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (playerInput.movement != Vector2.zero)
|
||||
{
|
||||
RumbleWalk();
|
||||
animationHandler.Run(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
animationHandler.Run(false);
|
||||
if (playerInput.PlayerNum == 1)
|
||||
pad.SetLightBarColor(Color.red);
|
||||
}
|
||||
}
|
||||
private void FixedUpdate()
|
||||
|
@ -78,29 +72,4 @@ public class PlayerMovement : MonoBehaviour
|
|||
}
|
||||
|
||||
}
|
||||
private void RumbleWalk()
|
||||
{
|
||||
if (vibrate && playerInput.controller != null)
|
||||
{
|
||||
if (right)
|
||||
{
|
||||
rumble.GetComponent<RumbleManager>().RumblePulse(0.0f, 0.004f, stepVibrationTime, playerInput.PlayerNum);
|
||||
right = false;
|
||||
}
|
||||
else if (!right)
|
||||
{
|
||||
rumble.GetComponent<RumbleManager>().RumblePulse(0.004f, 0.0f, stepVibrationTime, playerInput.PlayerNum);
|
||||
right = true;
|
||||
}
|
||||
vibrate = false;
|
||||
}
|
||||
}
|
||||
private IEnumerator ToggleWithDelay()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
vibrate = !vibrate;
|
||||
yield return new WaitForSeconds(stepCooldown);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ public class RopeSimulator : MonoBehaviour
|
|||
|
||||
public float Overshoot => rope.CalculateLengthOvershoot();
|
||||
|
||||
Rope rope;
|
||||
public Rope rope;
|
||||
|
||||
Dictionary<Collider2D, float> colliderToSquezeForce = new();
|
||||
|
||||
|
@ -127,7 +127,7 @@ public class RopeSimulator : MonoBehaviour
|
|||
|
||||
if (prevSubDivision - (int) subDivision >= 0) return;
|
||||
|
||||
// Extend from start
|
||||
// Max from start
|
||||
rope.points.Insert(1, new Point(rope.points[1].position));
|
||||
rope.sticks.Clear();
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4469770a8125fda4ea033ad0c3ba459b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,84 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
using UnityEngine.InputSystem;
|
||||
|
||||
public class PlayerRumbling : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private float RopeRubleTolerance = 0.5f;
|
||||
|
||||
private PlayerInput pInput;
|
||||
private Gamepad pad;
|
||||
|
||||
// Rope
|
||||
[SerializeField] private RopeSimulator rope;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
Invoke("LateStart", 0.1f);
|
||||
}
|
||||
|
||||
void LateStart()
|
||||
{
|
||||
pInput = GetComponent<PlayerInput>();
|
||||
pad = Gamepad.all.ElementAtOrDefault(pInput.PlayerNum);
|
||||
if (pad == null)
|
||||
{
|
||||
this.enabled = false;
|
||||
}
|
||||
|
||||
hasInit = true;
|
||||
}
|
||||
|
||||
bool hasInit = false;
|
||||
private void Update()
|
||||
{
|
||||
if (!hasInit) return;
|
||||
|
||||
var rumble = new RumbleData();
|
||||
|
||||
float ropeClamed = Mathf.Max(0, rope.Overshoot);
|
||||
if (ropeClamed > RopeRubleTolerance)
|
||||
{
|
||||
float mapped = ropeClamed.Remap(0.5f, 1f, 0f, 1f);
|
||||
rumble.Max(mapped, mapped);
|
||||
}
|
||||
|
||||
rumble.Commit(pad);
|
||||
}
|
||||
}
|
||||
|
||||
public class RumbleData
|
||||
{
|
||||
private bool modified = false;
|
||||
private float lowFreq = 0;
|
||||
private float highFreq = 0;
|
||||
|
||||
public void Max(float low, float high)
|
||||
{
|
||||
modified = true;
|
||||
lowFreq = Mathf.Max(lowFreq, low);
|
||||
highFreq = Mathf.Max(highFreq, high);
|
||||
}
|
||||
|
||||
public void Min(float low, float high)
|
||||
{
|
||||
modified = true;
|
||||
lowFreq = Mathf.Min(lowFreq, low);
|
||||
highFreq = Mathf.Min(highFreq, high);
|
||||
}
|
||||
|
||||
public void Add(float low, float high)
|
||||
{
|
||||
modified = true;
|
||||
lowFreq += low;
|
||||
highFreq += high;
|
||||
}
|
||||
|
||||
public void Commit(Gamepad target)
|
||||
{
|
||||
modified = false;
|
||||
target.SetMotorSpeeds(lowFreq, highFreq);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 20d294d88e5bc8a42afb1f72751fb61f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,4 +1,5 @@
|
|||
using System.Collections;
|
||||
using TMPro;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine;
|
||||
|
@ -59,6 +60,7 @@ public class Upgrader : MonoBehaviour
|
|||
private bool prevCouldUpgrade = true;
|
||||
|
||||
public Image BloodMeter;
|
||||
public TMPro.TextMeshProUGUI description;
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
|
@ -179,6 +181,8 @@ public class Upgrader : MonoBehaviour
|
|||
}
|
||||
else
|
||||
{
|
||||
description.text = "";
|
||||
|
||||
if (acceptTime > 0f)
|
||||
{
|
||||
foreach (Image i in upgradeImages)
|
||||
|
@ -194,10 +198,14 @@ public class Upgrader : MonoBehaviour
|
|||
}
|
||||
else if (prevCouldUpgrade)
|
||||
{
|
||||
// TODO: PLAY SOUND HERE!!
|
||||
|
||||
description.text = "";
|
||||
background.color = Color.gray;
|
||||
foreach (Image i in upgradeImages)
|
||||
{
|
||||
i.color = Color.gray;
|
||||
i.gameObject.transform.localScale = Vector3.one;
|
||||
}
|
||||
|
||||
Player1Cursor.gameObject.SetActive(false);
|
||||
|
@ -213,6 +221,7 @@ public class Upgrader : MonoBehaviour
|
|||
/// Increases mop radius by 10%
|
||||
public void UpgradeMopSize()
|
||||
{
|
||||
description.text = upgrades.mopUpgrade.name;
|
||||
bloodManager.CleanRadius *= mopSizeIncrease;
|
||||
upgrades.mopUpgrade.amount++;
|
||||
}
|
||||
|
@ -220,6 +229,7 @@ public class Upgrader : MonoBehaviour
|
|||
/// Increases move speed by 10%
|
||||
public void UpgradeSpeed()
|
||||
{
|
||||
description.text = upgrades.speedUpgrade.name;
|
||||
player1.GetComponent<PlayerMovement>().moveSpeed *= speedIncrease;
|
||||
player2.GetComponent<PlayerMovement>().moveSpeed *= speedIncrease;
|
||||
upgrades.speedUpgrade.amount++;
|
||||
|
@ -228,12 +238,15 @@ public class Upgrader : MonoBehaviour
|
|||
public void RopeUpgrade()
|
||||
{
|
||||
// todo: public methods
|
||||
description.text = upgrades.ropeUpgrade.name;
|
||||
rope.ropeMaxLength *= ropeIncrease;
|
||||
upgrades.ropeUpgrade.amount++;
|
||||
}
|
||||
|
||||
public void HealthUpgrade()
|
||||
{
|
||||
description.text = upgrades.healthUpgrade.name;
|
||||
|
||||
var comp1 = player1.GetComponent<HealthComponent>();
|
||||
comp1.setMaxHealth((int)(comp1.getMaxHealth() * healthIncrease));
|
||||
|
||||
|
@ -244,6 +257,7 @@ public class Upgrader : MonoBehaviour
|
|||
|
||||
public void DamageUpgrade()
|
||||
{
|
||||
description.text = upgrades.damageUpgrade.name;
|
||||
// todo: public rope methods
|
||||
// rope.da
|
||||
upgrades.damageUpgrade.amount++;
|
||||
|
@ -251,6 +265,7 @@ public class Upgrader : MonoBehaviour
|
|||
|
||||
public void BloodUpgrade()
|
||||
{
|
||||
description.text = upgrades.bloodUpgrade.name;
|
||||
bloodManager.scoreMult *= bloodIncrease;
|
||||
upgrades.bloodUpgrade.amount++;
|
||||
}
|
||||
|
@ -258,12 +273,15 @@ public class Upgrader : MonoBehaviour
|
|||
public void ReelUpgrade()
|
||||
{
|
||||
// todo rope methods
|
||||
description.text = upgrades.reelUpgrade.name;
|
||||
rope.ropeExtendSpeed *= reelIncrease;
|
||||
upgrades.reelUpgrade.amount++;
|
||||
}
|
||||
|
||||
IEnumerator updateBloodMeter() {
|
||||
while (true) {
|
||||
IEnumerator updateBloodMeter()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
yield return new WaitForSeconds(0.5f);
|
||||
|
||||
BloodMeter.fillAmount = ((float)bloodManager.score) / ((float)upgradeCost);
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4d19feedeaa6e99458ae00d9141125be
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,47 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
using UnityUtils;
|
||||
|
||||
public class RopeSounding : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private float PlayTime = 1f;
|
||||
|
||||
RopeSimulator rope;
|
||||
|
||||
AudioSource AS;
|
||||
float playTimeLeft = 0;
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
if (rope == null)
|
||||
{
|
||||
if (TryGetComponent(out rope))
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (AS == null)
|
||||
{
|
||||
TryGetComponent(out AS);
|
||||
AS.Play();
|
||||
AS.Pause();
|
||||
}
|
||||
|
||||
|
||||
if (rope.Overshoot >= 0.5f)
|
||||
{
|
||||
Vector3 soundPos = rope.rope.points.Select(x => x.position).ToList().Mean();
|
||||
AS.transform.position = soundPos;
|
||||
AS.UnPause();
|
||||
}
|
||||
else
|
||||
{
|
||||
// Pause
|
||||
AS.Pause();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8766ad5393174fa488ef4a58b62181b4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in New Issue