Version: 2017.4
public int attachedColliderCount ;

説明

Returns the number of Collider2D attached to this Rigidbody2D.