Version: 2017.3
public Collider2D collider ;

Description

The incoming Collider2D involved in the collision with the otherCollider.

This collider is attached to the Collision2D.rigidbody.

See Also: Collider2D and Rigidbody2D.