public static void InstallPixelPerfect()
 {
     if (!PackageInstallation.IsInstalled(WelcomeWindow.PixelPerfectPackageID))
     {
         PackageInstallation.Install(WelcomeWindow.PixelPerfectPackageVersionID);
     }
 }
 public static void InstallPostProcessing()
 {
     if (!PackageInstallation.IsInstalled(WelcomeWindow.PostProcessingPackageID))
     {
         PackageInstallation.Install(WelcomeWindow.PostProcessingPackageVersionID);
     }
 }
 public static void InstallCinemachine()
 {
     if (!PackageInstallation.IsInstalled(WelcomeWindow.CinemachinePackageID))
     {
         PackageInstallation.Install(WelcomeWindow.CinemachinePackageVersionID);
     }
 }
        public static void InstallDependencies()
        {
            bool installHappened = false;

            if (!PackageInstallation.IsInstalled(WelcomeWindow.PostProcessingPackageID))
            {
                InstallPostProcessing();
                installHappened = true;
            }

            if (!PackageInstallation.IsInstalled(WelcomeWindow.CinemachinePackageID))
            {
                InstallCinemachine();
                installHappened = true;
            }

            if (!PackageInstallation.IsInstalled(WelcomeWindow.PixelPerfectPackageID))
            {
                InstallPixelPerfect();
                installHappened = true;
            }

            if (installHappened)
            {
                AssetDatabase.Refresh();
                ReloadCurrentScene();
            }
        }