Compare commits

..

7 Commits

36 changed files with 245 additions and 438 deletions

View File

@ -14,13 +14,13 @@ AnimatorStateMachine:
m_Position: {x: -150, y: 60, z: 0} m_Position: {x: -150, y: 60, z: 0}
- serializedVersion: 1 - serializedVersion: 1
m_State: {fileID: 548892628922324246} m_State: {fileID: 548892628922324246}
m_Position: {x: 750, y: 130, z: 0} m_Position: {x: 570, y: 120, z: 0}
- serializedVersion: 1 - serializedVersion: 1
m_State: {fileID: 5718945116413065706} m_State: {fileID: 5718945116413065706}
m_Position: {x: 130, y: 110, z: 0} m_Position: {x: 130, y: 110, z: 0}
- serializedVersion: 1 - serializedVersion: 1
m_State: {fileID: 3308394434488297487} m_State: {fileID: 3308394434488297487}
m_Position: {x: 700, y: 190, z: 0} m_Position: {x: 420, y: 180, z: 0}
- serializedVersion: 1 - serializedVersion: 1
m_State: {fileID: -4512082985165587279} m_State: {fileID: -4512082985165587279}
m_Position: {x: 130, y: -20, z: 0} m_Position: {x: 130, y: -20, z: 0}
@ -131,19 +131,19 @@ AnimatorController:
m_DefaultFloat: 0 m_DefaultFloat: 0
m_DefaultInt: 0 m_DefaultInt: 0
m_DefaultBool: 0 m_DefaultBool: 0
m_Controller: {fileID: 0} m_Controller: {fileID: 9100000}
- m_Name: IsSwinging - m_Name: IsSwinging
m_Type: 4 m_Type: 4
m_DefaultFloat: 0 m_DefaultFloat: 0
m_DefaultInt: 0 m_DefaultInt: 0
m_DefaultBool: 0 m_DefaultBool: 0
m_Controller: {fileID: 0} m_Controller: {fileID: 9100000}
- m_Name: IsPulling - m_Name: IsPulling
m_Type: 4 m_Type: 4
m_DefaultFloat: 0 m_DefaultFloat: 0
m_DefaultInt: 0 m_DefaultInt: 0
m_DefaultBool: 0 m_DefaultBool: 0
m_Controller: {fileID: 0} m_Controller: {fileID: 9100000}
m_AnimatorLayers: m_AnimatorLayers:
- serializedVersion: 5 - serializedVersion: 5
m_Name: Base Layer m_Name: Base Layer

View File

@ -22,24 +22,16 @@ AnimationClip:
curve: curve:
- time: 0 - time: 0
value: {fileID: 21300000, guid: 9bf9e9b1313836249a44ead3d25eac20, type: 3} value: {fileID: 21300000, guid: 9bf9e9b1313836249a44ead3d25eac20, type: 3}
- time: 0.05 - time: 0.083333336
value: {fileID: 21300000, guid: 9832866514b3e5a41a10c9949b572fb5, type: 3}
- time: 0.11666667
value: {fileID: 21300000, guid: 41ea2c215472c504bb9a0608b036798d, type: 3} value: {fileID: 21300000, guid: 41ea2c215472c504bb9a0608b036798d, type: 3}
- time: 0.16666667 - time: 0.16666667
value: {fileID: 21300000, guid: a7d74ef6bbe4a6c44b01c0485fe71075, type: 3}
- time: 0.21666667
value: {fileID: 21300000, guid: 04c99bd2dc800c647af0c03aaf87222d, type: 3} value: {fileID: 21300000, guid: 04c99bd2dc800c647af0c03aaf87222d, type: 3}
- time: 0.28333333 - time: 0.25
value: {fileID: 21300000, guid: 5c1b32f936716b240b9dcc9879ba6b8a, type: 3} value: {fileID: 21300000, guid: 5c1b32f936716b240b9dcc9879ba6b8a, type: 3}
- time: 0.33333334 - time: 0.3
value: {fileID: 21300000, guid: d6d9695879910cc45897f43d9d42a390, type: 3}
- time: 0.38333333
value: {fileID: 21300000, guid: 47c8cef9a72fbf7408b6e41e87e476b2, type: 3} value: {fileID: 21300000, guid: 47c8cef9a72fbf7408b6e41e87e476b2, type: 3}
- time: 0.45 - time: 0.36666667
value: {fileID: 21300000, guid: 7db4df161134b9b4ca8974b29a04166f, type: 3} value: {fileID: 21300000, guid: 7db4df161134b9b4ca8974b29a04166f, type: 3}
- time: 0.5
value: {fileID: 21300000, guid: 634b972e969b01e4ba6fa38896a7a3c9, type: 3}
attribute: m_Sprite attribute: m_Sprite
path: path:
classID: 212 classID: 212
@ -63,21 +55,17 @@ AnimationClip:
isSerializeReferenceCurve: 0 isSerializeReferenceCurve: 0
pptrCurveMapping: pptrCurveMapping:
- {fileID: 21300000, guid: 9bf9e9b1313836249a44ead3d25eac20, type: 3} - {fileID: 21300000, guid: 9bf9e9b1313836249a44ead3d25eac20, type: 3}
- {fileID: 21300000, guid: 9832866514b3e5a41a10c9949b572fb5, type: 3}
- {fileID: 21300000, guid: 41ea2c215472c504bb9a0608b036798d, type: 3} - {fileID: 21300000, guid: 41ea2c215472c504bb9a0608b036798d, type: 3}
- {fileID: 21300000, guid: a7d74ef6bbe4a6c44b01c0485fe71075, type: 3}
- {fileID: 21300000, guid: 04c99bd2dc800c647af0c03aaf87222d, type: 3} - {fileID: 21300000, guid: 04c99bd2dc800c647af0c03aaf87222d, type: 3}
- {fileID: 21300000, guid: 5c1b32f936716b240b9dcc9879ba6b8a, type: 3} - {fileID: 21300000, guid: 5c1b32f936716b240b9dcc9879ba6b8a, type: 3}
- {fileID: 21300000, guid: d6d9695879910cc45897f43d9d42a390, type: 3}
- {fileID: 21300000, guid: 47c8cef9a72fbf7408b6e41e87e476b2, type: 3} - {fileID: 21300000, guid: 47c8cef9a72fbf7408b6e41e87e476b2, type: 3}
- {fileID: 21300000, guid: 7db4df161134b9b4ca8974b29a04166f, type: 3} - {fileID: 21300000, guid: 7db4df161134b9b4ca8974b29a04166f, type: 3}
- {fileID: 21300000, guid: 634b972e969b01e4ba6fa38896a7a3c9, type: 3}
m_AnimationClipSettings: m_AnimationClipSettings:
serializedVersion: 2 serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0} m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0 m_AdditiveReferencePoseTime: 0
m_StartTime: 0 m_StartTime: 0
m_StopTime: 0.51666665 m_StopTime: 0.38333336
m_OrientationOffsetY: 0 m_OrientationOffsetY: 0
m_Level: 0 m_Level: 0
m_CycleOffset: 0 m_CycleOffset: 0

View File

@ -24,10 +24,8 @@ MonoBehaviour:
- {fileID: 8300000, guid: fb0ae77bbbd11e64fa44bb6e23071458, type: 3} - {fileID: 8300000, guid: fb0ae77bbbd11e64fa44bb6e23071458, type: 3}
- {fileID: 8300000, guid: 3a67073d446ad0c4eaebc3e828cab46b, type: 3} - {fileID: 8300000, guid: 3a67073d446ad0c4eaebc3e828cab46b, type: 3}
- {fileID: 8300000, guid: 3c5f4ff19d63cc8458b6acb0756192ab, type: 3} - {fileID: 8300000, guid: 3c5f4ff19d63cc8458b6acb0756192ab, type: 3}
- {fileID: 8300000, guid: fa96879f1e5773e4aa5ba67c98756caf, type: 3}
- {fileID: 8300000, guid: bd37e0997c3891d41960e3d4a2820944, type: 3} - {fileID: 8300000, guid: bd37e0997c3891d41960e3d4a2820944, type: 3}
- {fileID: 8300000, guid: 15abfea15ac15c94bb6ac7814c5304b8, type: 3} - {fileID: 8300000, guid: 15abfea15ac15c94bb6ac7814c5304b8, type: 3}
- {fileID: 8300000, guid: 1199ff79c1f3044478a1d7fb88f09f20, type: 3}
- {fileID: 8300000, guid: 2680edc40e917f24fb02c267f4eab914, type: 3} - {fileID: 8300000, guid: 2680edc40e917f24fb02c267f4eab914, type: 3}
- {fileID: 8300000, guid: b6ec2727446618b44b5af3a511e5e1b1, type: 3} - {fileID: 8300000, guid: b6ec2727446618b44b5af3a511e5e1b1, type: 3}
- {fileID: 8300000, guid: 26c6aabbabe544f45b385c0e978c35ff, type: 3} - {fileID: 8300000, guid: 26c6aabbabe544f45b385c0e978c35ff, type: 3}

View File

@ -1,23 +0,0 @@
fileFormatVersion: 2
guid: fa96879f1e5773e4aa5ba67c98756caf
AudioImporter:
externalObjects: {}
serializedVersion: 7
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -1,23 +0,0 @@
fileFormatVersion: 2
guid: 1199ff79c1f3044478a1d7fb88f09f20
AudioImporter:
externalObjects: {}
serializedVersion: 7
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@ -213,7 +213,6 @@ GameObject:
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366} - component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
@ -244,29 +243,6 @@ Transform:
- {fileID: 2526773998354774740} - {fileID: 2526773998354774740}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2938081276856164938
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
damageTickDelay: 1
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!114 &944314729512195366 --- !u!114 &944314729512195366
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -416,7 +392,7 @@ PrefabInstance:
- target: {fileID: 3891416435710064780, guid: 0ea0f1215ba49f5448e8e8d60a899fe8, type: 3} - target: {fileID: 3891416435710064780, guid: 0ea0f1215ba49f5448e8e8d60a899fe8, type: 3}
propertyPath: attachedHealth propertyPath: attachedHealth
value: value:
objectReference: {fileID: 2938081276856164938} objectReference: {fileID: 944314729512195366}
- target: {fileID: 5537527563549888860, guid: 0ea0f1215ba49f5448e8e8d60a899fe8, type: 3} - target: {fileID: 5537527563549888860, guid: 0ea0f1215ba49f5448e8e8d60a899fe8, type: 3}
propertyPath: m_Name propertyPath: m_Name
value: HealthBar value: HealthBar

View File

@ -130,7 +130,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 8407687426537136098} - component: {fileID: 8407687426537136098}
@ -183,29 +182,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -214,7 +214,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 2239829156743597080} - component: {fileID: 2239829156743597080}
@ -267,29 +266,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -214,7 +214,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 2593167518683313509} - component: {fileID: 2593167518683313509}
@ -267,29 +266,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -214,7 +214,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 5537633588480359369} - component: {fileID: 5537633588480359369}
@ -267,29 +266,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -214,7 +214,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 5342177024833758816} - component: {fileID: 5342177024833758816}
@ -267,29 +266,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -130,7 +130,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 6703538002322560484} - component: {fileID: 6703538002322560484}
@ -183,29 +182,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -214,7 +214,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 5189432348483020584} - component: {fileID: 5189432348483020584}
@ -267,29 +266,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -214,7 +214,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 8229201628275188815} - component: {fileID: 8229201628275188815}
@ -267,29 +266,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -214,7 +214,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 17691115352120009} - component: {fileID: 17691115352120009}
@ -267,29 +266,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -214,7 +214,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 893626435943606516} - component: {fileID: 893626435943606516}
@ -267,29 +266,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -214,7 +214,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 2019234432969631736} - component: {fileID: 2019234432969631736}
@ -267,29 +266,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -214,7 +214,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 4552190225719755244} - component: {fileID: 4552190225719755244}
@ -267,29 +266,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -214,7 +214,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 7803025104266690665} - component: {fileID: 7803025104266690665}
@ -267,29 +266,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -214,7 +214,6 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3920219362688286786} - component: {fileID: 3920219362688286786}
- component: {fileID: 2938081276856164938} - component: {fileID: 2938081276856164938}
- component: {fileID: 944314729512195366}
- component: {fileID: 8373694659570615877} - component: {fileID: 8373694659570615877}
- component: {fileID: -1793628155013383594} - component: {fileID: -1793628155013383594}
- component: {fileID: 316906110964971930} - component: {fileID: 316906110964971930}
@ -267,29 +266,6 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
minThreshold: 1 minThreshold: 1
squezeDamageScalor: 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
damageTickDelay: 0.25
OnHealthZero:
m_PersistentCalls:
m_Calls: []
OnHealthChange:
m_PersistentCalls:
m_Calls: []
minThreshold: 1
squezeDamageScalor: 1
--- !u!195 &8373694659570615877 --- !u!195 &8373694659570615877
NavMeshAgent: NavMeshAgent:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -12,6 +12,7 @@ GameObject:
- component: {fileID: 2669453284189978930} - component: {fileID: 2669453284189978930}
- component: {fileID: 8069942137008974672} - component: {fileID: 8069942137008974672}
- component: {fileID: 1842047609192968100} - component: {fileID: 1842047609192968100}
- component: {fileID: 5062989152879916107}
m_Layer: 7 m_Layer: 7
m_Name: Renderer m_Name: Renderer
m_TagString: Untagged m_TagString: Untagged
@ -142,6 +143,46 @@ CircleCollider2D:
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
serializedVersion: 2 serializedVersion: 2
m_Radius: 0.5 m_Radius: 0.5
--- !u!114 &5062989152879916107
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1936012740462134995}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 136b23dbdb54d7f4493b3da7b84f0173, type: 3}
m_Name:
m_EditorClassIdentifier:
body: {fileID: 1508323898269695585}
damageLayers:
serializedVersion: 2
m_Bits: 1
speedToDamage:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.14138794
inSlope: 16.652266
outSlope: 16.652266
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0.02691511
- serializedVersion: 3
time: 29.937866
value: 150
inSlope: 0.82769793
outSlope: 0.82769793
tangentMode: 0
weightedMode: 0
inWeight: 0.13692878
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!1 &2470138561869876166 --- !u!1 &2470138561869876166
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -12,6 +12,7 @@ GameObject:
- component: {fileID: 2669453284189978930} - component: {fileID: 2669453284189978930}
- component: {fileID: 8069942137008974672} - component: {fileID: 8069942137008974672}
- component: {fileID: 1842047609192968100} - component: {fileID: 1842047609192968100}
- component: {fileID: 4634548561666258600}
m_Layer: 7 m_Layer: 7
m_Name: Renderer m_Name: Renderer
m_TagString: Untagged m_TagString: Untagged
@ -142,6 +143,46 @@ CircleCollider2D:
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
serializedVersion: 2 serializedVersion: 2
m_Radius: 0.5 m_Radius: 0.5
--- !u!114 &4634548561666258600
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1936012740462134995}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 136b23dbdb54d7f4493b3da7b84f0173, type: 3}
m_Name:
m_EditorClassIdentifier:
body: {fileID: 1508323898269695585}
damageLayers:
serializedVersion: 2
m_Bits: 1
speedToDamage:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.14138794
inSlope: 16.652266
outSlope: 16.652266
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0.02691511
- serializedVersion: 3
time: 29.937866
value: 150
inSlope: 0.98160595
outSlope: 0.98160595
tangentMode: 0
weightedMode: 0
inWeight: 0.067287885
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!1 &3096169748286405671 --- !u!1 &3096169748286405671
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -577,6 +577,10 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1842047609192968100, guid: 30e0cc55a67f02d4f92b2677ec4b1511, type: 3}
propertyPath: m_IncludeLayers.m_Bits
value: 4294967295
objectReference: {fileID: 0}
- target: {fileID: 3120938410244321186, guid: 30e0cc55a67f02d4f92b2677ec4b1511, type: 3} - target: {fileID: 3120938410244321186, guid: 30e0cc55a67f02d4f92b2677ec4b1511, type: 3}
propertyPath: m_Name propertyPath: m_Name
value: Player2 value: Player2
@ -711,6 +715,10 @@ PrefabInstance:
propertyPath: otherPlayerAttack propertyPath: otherPlayerAttack
value: value:
objectReference: {fileID: 869964774} objectReference: {fileID: 869964774}
- target: {fileID: 1842047609192968100, guid: 99a6ff8b9591949439b620b13bd249a4, type: 3}
propertyPath: m_IncludeLayers.m_Bits
value: 4294967295
objectReference: {fileID: 0}
- target: {fileID: 3120938410244321186, guid: 99a6ff8b9591949439b620b13bd249a4, type: 3} - target: {fileID: 3120938410244321186, guid: 99a6ff8b9591949439b620b13bd249a4, type: 3}
propertyPath: m_Name propertyPath: m_Name
value: Player1 value: Player1
@ -2527,10 +2535,30 @@ PrefabInstance:
m_RemovedGameObjects: [] m_RemovedGameObjects: []
m_AddedGameObjects: [] m_AddedGameObjects: []
m_AddedComponents: m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 7301411897347746173, guid: 48e0e53445d42474895d37a321c39d1c, type: 3}
insertIndex: -1
addedObject: {fileID: 4158834148864819268}
- targetCorrespondingSourceObject: {fileID: 203935764274243221, guid: 48e0e53445d42474895d37a321c39d1c, type: 3} - targetCorrespondingSourceObject: {fileID: 203935764274243221, guid: 48e0e53445d42474895d37a321c39d1c, type: 3}
insertIndex: -1 insertIndex: -1
addedObject: {fileID: 872164355} addedObject: {fileID: 872164355}
m_SourcePrefab: {fileID: 100100000, guid: 48e0e53445d42474895d37a321c39d1c, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 48e0e53445d42474895d37a321c39d1c, type: 3}
--- !u!1 &4158834148864819267 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 7301411897347746173, guid: 48e0e53445d42474895d37a321c39d1c, type: 3}
m_PrefabInstance: {fileID: 4158834148864819266}
m_PrefabAsset: {fileID: 0}
--- !u!114 &4158834148864819268
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4158834148864819267}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 94eb4529510a25d448334415d28e7fa4, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &4910321061857220295 --- !u!1001 &4910321061857220295
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -665,7 +665,7 @@ MonoBehaviour:
m_Transition: 1 m_Transition: 1
m_Colors: m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1} m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 0.7647059}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
@ -686,7 +686,19 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 398610165} m_TargetGraphic: {fileID: 398610165}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls:
- m_Target: {fileID: 1304688536}
m_TargetAssemblyTypeName: QuitGame, Assembly-CSharp
m_MethodName: Quit
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &398610165 --- !u!114 &398610165
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1390,6 +1402,7 @@ GameObject:
- component: {fileID: 1304688534} - component: {fileID: 1304688534}
- component: {fileID: 1304688533} - component: {fileID: 1304688533}
- component: {fileID: 1304688532} - component: {fileID: 1304688532}
- component: {fileID: 1304688536}
m_Layer: 5 m_Layer: 5
m_Name: Canvas m_Name: Canvas
m_TagString: Untagged m_TagString: Untagged
@ -1492,6 +1505,18 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0} m_Pivot: {x: 0, y: 0}
--- !u!114 &1304688536
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1304688531}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 858666303fe5d464a806d086b87f5c30, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1526912310 --- !u!1 &1526912310
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1554,7 +1579,7 @@ MonoBehaviour:
m_Transition: 1 m_Transition: 1
m_Colors: m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1} m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 0.7647059}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}

View File

@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IngameMusic : MonoBehaviour
{
void Start()
{
AudioManager.PlaySound("Intro_Flatline", new Vector3(0f, 0f, 0f), false, false).volume = 1f;
Invoke("PlayMusic", 3);
}
void PlayMusic()
{
AudioManager.PlaySound("Ingame_Theme", new Vector3(0f, 0f, 0f), false, false, true, true).volume = 1f;
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 94eb4529510a25d448334415d28e7fa4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -6,6 +6,13 @@ public class MainMenuMusic : MonoBehaviour
{ {
void Start() void Start()
{ {
AudioManager.PlaySound("", new Vector3(0f, 0f, 0f)).volume = 1f; AudioManager.PlaySound("Menu_Whistle_Intro", new Vector3(0f, 0f, 0f)).volume = 1f;
Invoke("PlayMusic", 10);
}
void PlayMusic()
{
AudioManager.PlaySound("Menu_Theme", new Vector3(0f, 0f, 0f), false, true, true, true).volume = 1f;
} }
} }

View File

@ -27,7 +27,8 @@ public class MainMenuTransitionAnimation : MonoBehaviour
yield return new WaitForSecondsRealtime(0.1f); yield return new WaitForSecondsRealtime(0.1f);
} }
AudioManager.StopAllAudio();
SceneManager.LoadScene(1); SceneManager.LoadScene(1);
//SceneManager.sceneLoaded += () => AudioManager.stop
} }
} }

View File

@ -0,0 +1,23 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerCollideAttack : MonoBehaviour
{
[SerializeField] Rigidbody2D body;
[SerializeField] LayerMask damageLayers;
[SerializeField] AnimationCurve speedToDamage;
public void OnCollisionEnter2D(Collision2D collision)
{
HealthComponent health = collision.collider.gameObject.GetComponent<HealthComponent>();
if (health == null)
health = collision.collider.transform.parent.GetComponent<HealthComponent>();
if (health == null) return;
float speed = body.velocity.magnitude;
float damage = speedToDamage.Evaluate(speed);
health.TakeDamage(damage);
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 136b23dbdb54d7f4493b3da7b84f0173
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -3,7 +3,6 @@ using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.InputSystem; using UnityEngine.InputSystem;
using System.Linq; using System.Linq;
using UnityEngine.Windows;
using UnityEngine.InputSystem.DualShock; using UnityEngine.InputSystem.DualShock;
[RequireComponent(typeof(PlayerInput))] [RequireComponent(typeof(PlayerInput))]

View File

@ -24,6 +24,6 @@ public class DamageText : MonoBehaviour
if (damage > superCritThreshold) if (damage > superCritThreshold)
damageText.color = superCritColor; damageText.color = superCritColor;
damageText.text = damage.ToString(); damageText.text = ((int)damage).ToString();
} }
} }

View File

@ -0,0 +1,11 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class QuitGame : MonoBehaviour
{
public void Quit()
{
Application.Quit();
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 858666303fe5d464a806d086b87f5c30
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: