기술 자료

Unity Engine

Unity Engine

collider

The incoming Collider2D involved in the collision with the ContactPoint2D.otherCollider.
읽는 시간 1분최근 업데이트: 20일 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Collider2D collider { get; }

Remarks

This collider is attached to the Collision2D.rigidbody.
Additional Resources: Collider2D, Rigidbody2D