public Collider2D collider ;

Descripción

The incoming Collider2D involved in the collision with the otherCollider.

This collider is attached to the Collision2D.rigidbody.

See Also: Collider2D and Rigidbody2D.