mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-14 16:27:19 +00:00
remove unused variable
This commit is contained in:
parent
b8051fe2d9
commit
363ec0dd0e
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue