public static Vector3 NearestVertexTo(this MeshCollider collider, Vector3 point) { return(MathExtension.NearestVertexTo(((Component)collider).get_transform(), collider.get_sharedMesh(), point)); }
public static Vector3 NearestVertexTo(this MeshFilter meshFilter, Vector3 point) { return(MathExtension.NearestVertexTo(((Component)meshFilter).get_transform(), meshFilter.get_mesh(), point)); }