Added collision to enemies

This commit is contained in:
BOT Alex 2024-03-01 10:46:23 +01:00
parent 12cb5d7987
commit 5b2759e65c
1 changed files with 44 additions and 0 deletions

View File

@ -8,6 +8,10 @@ PrefabInstance:
serializedVersion: 3 serializedVersion: 3
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 0}
m_Modifications: m_Modifications:
- target: {fileID: -3563373198581541198, guid: cfacc720818aabb4e9217dd1ae770886, type: 3}
propertyPath: GlobalObjectIdHash
value: 1838007843
objectReference: {fileID: 0}
- target: {fileID: 7065654593080984807, guid: cfacc720818aabb4e9217dd1ae770886, type: 3} - target: {fileID: 7065654593080984807, guid: cfacc720818aabb4e9217dd1ae770886, type: 3}
propertyPath: m_Name propertyPath: m_Name
value: EnemyV1 value: EnemyV1
@ -59,6 +63,9 @@ PrefabInstance:
- targetCorrespondingSourceObject: {fileID: 7065654593080984807, guid: cfacc720818aabb4e9217dd1ae770886, type: 3} - targetCorrespondingSourceObject: {fileID: 7065654593080984807, guid: cfacc720818aabb4e9217dd1ae770886, type: 3}
insertIndex: 1 insertIndex: 1
addedObject: {fileID: -4044306820387615481} addedObject: {fileID: -4044306820387615481}
- targetCorrespondingSourceObject: {fileID: 7065654593080984807, guid: cfacc720818aabb4e9217dd1ae770886, type: 3}
insertIndex: -1
addedObject: {fileID: 1248148329157715955}
m_SourcePrefab: {fileID: 100100000, guid: cfacc720818aabb4e9217dd1ae770886, type: 3} m_SourcePrefab: {fileID: 100100000, guid: cfacc720818aabb4e9217dd1ae770886, type: 3}
--- !u!1 &4934207185621008411 stripped --- !u!1 &4934207185621008411 stripped
GameObject: GameObject:
@ -119,3 +126,40 @@ SpriteRenderer:
m_WasSpriteAssigned: 1 m_WasSpriteAssigned: 1
m_MaskInteraction: 0 m_MaskInteraction: 0
m_SpriteSortPoint: 0 m_SpriteSortPoint: 0
--- !u!70 &1248148329157715955
CapsuleCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4934207185621008411}
m_Enabled: 1
serializedVersion: 3
m_Density: 1
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_ForceSendLayers:
serializedVersion: 2
m_Bits: 4294967295
m_ForceReceiveLayers:
serializedVersion: 2
m_Bits: 4294967295
m_ContactCaptureLayers:
serializedVersion: 2
m_Bits: 4294967295
m_CallbackLayers:
serializedVersion: 2
m_Bits: 4294967295
m_IsTrigger: 0
m_UsedByEffector: 0
m_CompositeOperation: 0
m_CompositeOrder: 0
m_Offset: {x: 0, y: 0}
m_Size: {x: 1.43, y: 2.19}
m_Direction: 0