End Screen & Fix layers collision bug

This commit is contained in:
2023-10-17 11:31:58 +02:00
parent ec1084bd10
commit e5c90cf3ec
13 changed files with 786 additions and 132 deletions
+1
View File
@@ -51,6 +51,7 @@ public class Ennemy : MonoBehaviour
{
if (collision.gameObject.CompareTag("Player"))
{
Debug.Log("ASSETT");
InvokeRepeating(nameof(AttackPlayer), 0, 1f);
}
}
+1 -1
View File
@@ -191,7 +191,7 @@ Rigidbody2D:
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_Bits: 72
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 0