public Package(DateTime timestamp, VirtualOutputTarget outputTarget,
                int highestActiveDisplay, VirtualCamera.Calibration[] calibrations)
 {
     this.timestamp             = timestamp.ToString("o");
     this.outputTarget          = outputTarget;
     this.highestVirtualDisplay = highestActiveDisplay;
     this.calibrations          = calibrations;
 }
        internal static bool TryLoadCalibrationsFromDisk(out VirtualOutputTarget outputTarget,
                                                         out VirtualCamera.Calibration[] calibrations)
        {
            try
            {
                var json    = File.ReadAllText(GetPersistentCalibrationFilePath());
                var package = JsonUtility.FromJson <Package>(json);

                outputTarget = package.outputTarget;
                calibrations = package.calibrations;
                return(true);
            } catch {
                outputTarget = default;
                calibrations = default;
                return(false);
            }
        }