// Start is called before the first frame update void Start() { CameraComponent = CameraUtils.FetchMainCamera(); DefaultOrthograficSize = CameraComponent.orthographicSize; TargetZoom = DefaultOrthograficSize; MaximumZoomAmount = DefaultOrthograficSize * 2; MinimumZoomAmount = DefaultOrthograficSize / 2; }