remove unused variable

This commit is contained in:
in0finite 2020-06-28 23:57:09 +02:00
parent b8051fe2d9
commit 363ec0dd0e

View file

@ -75,7 +75,6 @@ namespace SanAndreasUnity.Utilities
// find closest point from all colliders
float closestPointDistance = float.MaxValue;
Collider closestPointCollider = null;
foreach (var collider in pair.Value)
{
@ -85,7 +84,6 @@ namespace SanAndreasUnity.Utilities
if (distanceToPointOnCollider < closestPointDistance)
{
closestPointDistance = distanceToPointOnCollider;
closestPointCollider = collider;
}
}