Commit 77084d35 authored by DESKTOP-C0N3136\david's avatar DESKTOP-C0N3136\david

Completed Enemy movement script

parent 23c5b916

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

This diff is collapsed.
This diff is collapsed.
fileFormatVersion: 2
guid: 7a68d011fcd231845b38f1d19a3e37d9
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
m_IndirectSpecularColor: {r: 0.44657868, g: 0.49641263, b: 0.57481706, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
......@@ -111,7 +111,7 @@ NavMeshSettings:
accuratePlacement: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
m_NavMeshData: {fileID: 23800000, guid: c61d86efbf5ffcf4ca80e83aedbf045f, type: 2}
--- !u!1 &37405686
GameObject:
m_ObjectHideFlags: 0
......@@ -147,7 +147,7 @@ Transform:
--- !u!199 &37405688
ParticleSystemRenderer:
serializedVersion: 6
m_ObjectHideFlags: 0
m_ObjectHideFlags: 2
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
......@@ -5102,12 +5102,13 @@ GameObject:
- component: {fileID: 715473159}
- component: {fileID: 715473158}
- component: {fileID: 715473157}
- component: {fileID: 715473161}
m_Layer: 0
m_Name: Cube (3)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_StaticEditorFlags: 8
m_IsActive: 1
--- !u!65 &715473157
BoxCollider:
......@@ -5181,6 +5182,22 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!208 &715473161
NavMeshObstacle:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 715473156}
m_Enabled: 1
serializedVersion: 3
m_Shape: 1
m_Extents: {x: 0.5, y: 0.5, z: 0.5}
m_MoveThreshold: 0.1
m_Carve: 0
m_CarveOnlyStationary: 1
m_Center: {x: 0, y: 0, z: 0}
m_TimeToStationary: 0.5
--- !u!1 &867304661
GameObject:
m_ObjectHideFlags: 0
......@@ -5341,6 +5358,10 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 100000, guid: 5e9e851c0e142814dac026a256ba2ac0, type: 3}
propertyPath: m_TagString
value: Player
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 5e9e851c0e142814dac026a256ba2ac0, type: 3}
propertyPath: m_LocalPosition.x
value: 0
......@@ -5513,12 +5534,13 @@ GameObject:
- component: {fileID: 1110930965}
- component: {fileID: 1110930964}
- component: {fileID: 1110930963}
- component: {fileID: 1110930967}
m_Layer: 0
m_Name: Cube (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_StaticEditorFlags: 8
m_IsActive: 1
--- !u!65 &1110930963
BoxCollider:
......@@ -5592,6 +5614,22 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!208 &1110930967
NavMeshObstacle:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1110930962}
m_Enabled: 1
serializedVersion: 3
m_Shape: 1
m_Extents: {x: 0.5, y: 0.5, z: 0.5}
m_MoveThreshold: 0.1
m_Carve: 0
m_CarveOnlyStationary: 1
m_Center: {x: 0, y: 0, z: 0}
m_TimeToStationary: 0.5
--- !u!1 &1266774781
GameObject:
m_ObjectHideFlags: 0
......@@ -5604,12 +5642,13 @@ GameObject:
- component: {fileID: 1266774784}
- component: {fileID: 1266774783}
- component: {fileID: 1266774782}
- component: {fileID: 1266774786}
m_Layer: 0
m_Name: Cube (2)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_StaticEditorFlags: 8
m_IsActive: 1
--- !u!65 &1266774782
BoxCollider:
......@@ -5683,6 +5722,22 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!208 &1266774786
NavMeshObstacle:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1266774781}
m_Enabled: 1
serializedVersion: 3
m_Shape: 1
m_Extents: {x: 0.5, y: 0.5, z: 0.5}
m_MoveThreshold: 0.1
m_Carve: 0
m_CarveOnlyStationary: 1
m_Center: {x: 0, y: 0, z: 0}
m_TimeToStationary: 0.5
--- !u!1 &1296001795
GameObject:
m_ObjectHideFlags: 0
......@@ -5788,6 +5843,7 @@ GameObject:
- component: {fileID: 1376898703}
- component: {fileID: 1376898702}
- component: {fileID: 1376898706}
- component: {fileID: 1376898707}
m_Layer: 0
m_Name: PlaceholderBoi
m_TagString: Untagged
......@@ -5881,6 +5937,28 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
health: 50
--- !u!195 &1376898707
NavMeshAgent:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1376898701}
m_Enabled: 1
m_AgentTypeID: 0
m_Radius: 0.5000001
m_Speed: 3.5
m_Acceleration: 8
avoidancePriority: 50
m_AngularSpeed: 120
m_StoppingDistance: 0
m_AutoTraverseOffMeshLink: 1
m_AutoBraking: 1
m_AutoRepath: 1
m_Height: 1
m_BaseOffset: 0.5
m_WalkableMask: 4294967295
m_ObstacleAvoidanceType: 4
--- !u!1 &1678382736
GameObject:
m_ObjectHideFlags: 0
......@@ -5893,12 +5971,13 @@ GameObject:
- component: {fileID: 1678382739}
- component: {fileID: 1678382738}
- component: {fileID: 1678382737}
- component: {fileID: 1678382741}
m_Layer: 0