RaycastHit2D.Transform
The Transform of the Rigidbody2D or Collider2D that was hit.
Properties
Property Name | Description |
---|---|
Raycast Hit 2D | RaycastHit2D |
Transform | Output the hitting Transform |
The Transform of the Rigidbody2D or Collider2D that was hit.
Property Name | Description |
---|---|
Raycast Hit 2D | RaycastHit2D |
Transform | Output the hitting Transform |