Version: 2020.3
public Collider2D collider ;

描述

otherCollider 的碰撞中涉及的传入 Collider2D

该碰撞体附加到 Collision2D.rigidbody

另请参阅:Collider2DRigidbody2D