Пример #1
0
        private static void PublishPackageMenu()
        {
            PackageManifest manifest = HalodiPackageCreatorController.GetPackageManifest(Selection.activeObject, true);

            if (manifest != null)
            {
                PublicationView.PublishPackages(manifest.info);
            }
        }
Пример #2
0
 internal static void PublishPackageMenuItem()
 {
     PublicationView.PublishPackages();
 }
Пример #3
0
 private void PublishPackages()
 {
     PublicationView.PublishPackages();
     CloseWindow();
 }
Пример #4
0
        public static void PublishPackages(UnityEditor.PackageManager.PackageInfo info = null)
        {
            PublicationView view = EditorWindow.GetWindow <PublicationView>(true, "Package Publishing", true);

            view.initialSelection = info;
        }
        public static void PublishPackages(List <PackageManifest> packages)
        {
            PublicationView publicationView = EditorWindow.GetWindow <PublicationView>(true, "Package Publishing", true);

            publicationView.SetPackages(packages);
        }