Commit ed9c1211 authored by Christopher Benes's avatar Christopher Benes

lemme pull

parent af0d1865
......@@ -4139,7 +4139,7 @@ BoxCollider2D:
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 2, y: 2}
m_Size: {x: 5, y: 4}
m_EdgeRadius: 0
--- !u!50 &209653169
Rigidbody2D:
......@@ -10799,15 +10799,20 @@ PrefabInstance:
propertyPath: m_TagString
value: Interactive
objectReference: {fileID: 0}
- target: {fileID: 6240296448730384320, guid: a0c6081106659114387502f3e4d51362,
type: 3}
propertyPath: m_Layer
value: 15
objectReference: {fileID: 0}
- target: {fileID: 7732554449417407852, guid: a0c6081106659114387502f3e4d51362,
type: 3}
propertyPath: m_LocalPosition.x
value: 141.3
value: 141.22
objectReference: {fileID: 0}
- target: {fileID: 7732554449417407852, guid: a0c6081106659114387502f3e4d51362,
type: 3}
propertyPath: m_LocalPosition.y
value: 92.59
value: 92.72
objectReference: {fileID: 0}
- target: {fileID: 7732554449417407852, guid: a0c6081106659114387502f3e4d51362,
type: 3}
......@@ -10869,6 +10874,26 @@ PrefabInstance:
propertyPath: force
value: 10
objectReference: {fileID: 0}
- target: {fileID: 6184296985288555399, guid: a0c6081106659114387502f3e4d51362,
type: 3}
propertyPath: m_Layer
value: 15
objectReference: {fileID: 0}
- target: {fileID: 3590286897431027205, guid: a0c6081106659114387502f3e4d51362,
type: 3}
propertyPath: m_IsTrigger
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3590286897431027205, guid: a0c6081106659114387502f3e4d51362,
type: 3}
propertyPath: m_Size.x
value: 6
objectReference: {fileID: 0}
- target: {fileID: 3590286897431027205, guid: a0c6081106659114387502f3e4d51362,
type: 3}
propertyPath: m_Size.y
value: 6
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: a0c6081106659114387502f3e4d51362, type: 3}
--- !u!4 &554033098 stripped
......@@ -15471,7 +15496,7 @@ Camera:
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 24375
m_Bits: 57143
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
......@@ -29915,7 +29940,7 @@ PrefabInstance:
- target: {fileID: 52145075018362291, guid: 2e3528907311e438dab0d393127aa332,
type: 3}
propertyPath: m_GroundedOffset.y
value: -0.5
value: 0
objectReference: {fileID: 0}
- target: {fileID: 52145075018362291, guid: 2e3528907311e438dab0d393127aa332,
type: 3}
......@@ -31290,6 +31315,11 @@ PrefabInstance:
propertyPath: m_TagString
value: Interactive
objectReference: {fileID: 0}
- target: {fileID: 6240296448730384320, guid: a0c6081106659114387502f3e4d51362,
type: 3}
propertyPath: m_Layer
value: 15
objectReference: {fileID: 0}
- target: {fileID: 7732554449417407852, guid: a0c6081106659114387502f3e4d51362,
type: 3}
propertyPath: m_LocalPosition.x
......@@ -37613,6 +37643,11 @@ PrefabInstance:
propertyPath: m_TagString
value: Interactive
objectReference: {fileID: 0}
- target: {fileID: 6240296448730384320, guid: a0c6081106659114387502f3e4d51362,
type: 3}
propertyPath: m_Layer
value: 15
objectReference: {fileID: 0}
- target: {fileID: 7732554449417407852, guid: a0c6081106659114387502f3e4d51362,
type: 3}
propertyPath: m_LocalPosition.x
......@@ -12,7 +12,7 @@ namespace _Game.Scripts.Level_Hazards
_rigidbody2D = this.GetComponentInParent<Rigidbody2D>();
}
private void OnCollisionEnter2D(Collision2D other)
private void OnTriggerEnter2D(Collider2D other)
{
if (other.gameObject.layer == LayerMask.NameToLayer("Player") || other.gameObject.layer == LayerMask.NameToLayer("Enemy") ||
other.gameObject.CompareTag("Fire"))
......@@ -22,7 +22,7 @@ namespace _Game.Scripts.Level_Hazards
}
}
private void OnCollisionExit2D(Collision2D other)
private void OnTriggerExit2D(Collider2D other)
{
if (other.gameObject.layer == LayerMask.NameToLayer("Player") || other.gameObject.layer == LayerMask.NameToLayer("Enemy") ||
other.gameObject.CompareTag("Fire"))
......
......@@ -30,7 +30,7 @@ TagManager:
- ElementalAttacks
- BackgroundTileMap
- Enemy
-
- MovableObject
-
-
-
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment