Rigidbody2D.attachedColliderCount

public int attachedColliderCount;

Description

Returns the number of Collider2D attached to this Rigidbody2D.

Additional resources: Rigidbody2D.GetAttachedColliders.


Did you find this page useful? Please give it a rating: