Debug
DebugDrawHitPoints
DebugDrawHitPointspublic void DebugDrawHitPoints(Color color,
float sizeValue = 0.02f,
float duration = 1f)
{
foreach (var h in m_HitCache)
Debug.DrawRay(h.point, h.normal * sizeValue, color, duration);
}Purpose: Draw a short debug ray at every cached hit point.
Parameters: color, sizeValue (length), duration (seconds)
Returns: void
Notes: Perfect for quick visual QA in editor or play mode.
Last updated