attachedColliderCount
Returns the number of Collider2D attached to this Rigidbody2D.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public int attachedColliderCount { get; }
Remarks
Additional Resources: Rigidbody2D.GetAttachedColliders.