Ejemplo n.º 1
0
 private void OnTriggerEnter2D(Collider2D other)
 {
     // Debug.Log(this);
     // Debug.Log(other);
     // Debug.Log(other.gameObject);
     CheckCollision.Invoke(this, other.gameObject.GetComponent <ICollision>());
 }
Ejemplo n.º 2
0
 private void OnTriggerEnter2D(Collider2D other)
 {
     CheckCollision.Invoke(this, other.GetComponent <ICollision>());
 }