End Screen & Fix layers collision bug
This commit is contained in:
@@ -51,6 +51,7 @@ public class Ennemy : MonoBehaviour
|
||||
{
|
||||
if (collision.gameObject.CompareTag("Player"))
|
||||
{
|
||||
Debug.Log("ASSETT");
|
||||
InvokeRepeating(nameof(AttackPlayer), 0, 1f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user