文档

Unity Engine

Unity Engine

attachedColliderCount

Returns the number of Collider2D attached to this Rigidbody2D.
阅读时间1 分钟最后更新于 2 天前

Definition

public int attachedColliderCount { get; }

Remarks

Additional Resources: Rigidbody2D.GetAttachedColliders.