Version: 2018.2
public int attachedColliderCount ;

説明

Returns the number of Collider2D attached to this Rigidbody2D.