Version: 2019.3
public int attachedColliderCount ;

説明

Returns the number of Collider2D attached to this Rigidbody2D.