public void InteractWithNearest() { Selectable nearest = Selectable.GetNearestAutoInteract(transform.position, 4f); if (nearest != null) { InteractWith(nearest, nearest.GetClosestInteractPoint(transform.position)); } }