RaycastHit2D.Fraction

Fraction of the distance along the ray that the hit occurred.

RaycastHit2D.Fraction

Properties

Property Name Description
Raycast Hit 2D RaycastHit2D
Fraction Output fraction of the distance