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