ドキュメント

Unity Engine

Unity Engine

attachedColliderCount

Returns the number of Collider2D attached to this Rigidbody2D.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public int attachedColliderCount { get; }

Remarks

Additional Resources: Rigidbody2D.GetAttachedColliders.