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);
}
}