private void FixOcclusions() { float nearDistance = CheckCameraPoints(target.transform.position, transform.position); if (nearDistance != -1) { camCtrl.SetDistance(nearDistance); } }