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