public void FocusOnPoint(ExaminationPoint x) { DisableAllExaminationPointsButtonImage(); pointInformationGameObject.SetActive(true); returnButton.image.enabled = true; CameraFocus.FocusOnPositionWithSize(new Vector3(x.cameraPosition.x, x.cameraPosition.y, -10), x.cameraSize); }
public void SetToExaminationCamera() { CameraFocus.FocusOnPositionWithSize(Camera.main.transform.localPosition, examinationCameraSize); }