RaycastHit2D.Transform

The Transform of the Rigidbody2D or Collider2D that was hit.

RaycastHit2D.Transform

Properties

Property NameDescription
Raycast Hit 2D RaycastHit2D
Transform Output the hitting Transform