Collision2D.otherCollider
public Collider2D otherCollider;
Description 描述
The other Collider2D involved in the collision with the collider.
This collider is attached to the Collision2D.otherRigidbody.
See Also: Collider2D and Rigidbody2D.
The other Collider2D involved in the collision with the collider.
This collider is attached to the Collision2D.otherRigidbody.
See Also: Collider2D and Rigidbody2D.