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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user