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);
}Last updated