Made enemies die

This commit is contained in:
2026-01-19 11:32:57 +00:00
parent 47994ca649
commit 4fb1d1ee47
7 changed files with 155 additions and 428 deletions

View File

@@ -139,6 +139,7 @@ Transform:
- {fileID: 615212893800131175}
- {fileID: 2559280423146052835}
- {fileID: 4237965533368229587}
- {fileID: 7248279439831960336}
m_Father: {fileID: 4872202698225962268}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &3292909469865275622
@@ -569,7 +570,7 @@ GameObject:
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 1
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2954919674435554904
Transform:
@@ -1127,7 +1128,6 @@ Transform:
- {fileID: 1882264671035603731}
- {fileID: 3221870984457002302}
- {fileID: 3010340117121041265}
- {fileID: 7248279439831960336}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &8959804508983558599
@@ -2426,7 +2426,7 @@ PrefabInstance:
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 4872202698225962268}
m_TransformParent: {fileID: 3221870984457002302}
m_Modifications:
- target: {fileID: 4184610175437431037, guid: 6c08ab4a95014ae4db1eebdc5d104b17,
type: 3}
@@ -2446,7 +2446,7 @@ PrefabInstance:
- target: {fileID: 4184610175437431037, guid: 6c08ab4a95014ae4db1eebdc5d104b17,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.54038155
value: 0.5403816
objectReference: {fileID: 0}
- target: {fileID: 4184610175437431037, guid: 6c08ab4a95014ae4db1eebdc5d104b17,
type: 3}
@@ -2456,7 +2456,7 @@ PrefabInstance:
- target: {fileID: 4184610175437431037, guid: 6c08ab4a95014ae4db1eebdc5d104b17,
type: 3}
propertyPath: m_LocalRotation.y
value: 0.84142005
value: 0.8414201
objectReference: {fileID: 0}
- target: {fileID: 4184610175437431037, guid: 6c08ab4a95014ae4db1eebdc5d104b17,
type: 3}

View File

@@ -92,6 +92,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 4184610175437431037}
- component: {fileID: 7257751258790706911}
m_Layer: 0
m_Name: Enemy
m_TagString: Untagged
@@ -115,3 +116,18 @@ Transform:
- {fileID: 1276636676886672381}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7257751258790706911
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6036120470499022404}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6262d641981b43889d09dccc3cb72b74, type: 3}
m_Name:
m_EditorClassIdentifier:
Player: {fileID: 0}
DeathIndex: 0
Renderer: {fileID: 602539943244629249}

View File

@@ -25,7 +25,7 @@ Transform:
m_GameObject: {fileID: 356687226755228914}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0.3, y: 0, z: 0}
m_LocalPosition: {x: 0, y: -0.1, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -56,7 +56,7 @@ Transform:
m_GameObject: {fileID: 2714223452157441578}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0.3, y: 0, z: 100}
m_LocalPosition: {x: 0, y: 0, z: 100}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -285,8 +285,8 @@ LineRenderer:
m_SortingLayer: 0
m_SortingOrder: 0
m_Positions:
- {x: -0.3, y: 0, z: 0}
- {x: -0.3, y: 0, z: 100}
- {x: 0, y: 0, z: 0}
- {x: 0, y: 0, z: 100}
m_Parameters:
serializedVersion: 3
widthMultiplier: 1