private void PackageGUI(PublicationPackageView packageView)
        {
            EditorGUI.BeginChangeCheck();
            packageView.publish = EditorGUILayout.BeginToggleGroup(packageView.package.displayName, packageView.publish);
            if (EditorGUI.EndChangeCheck())
            {
                if (!packageView.publish)
                {
                    publishAll = false;
                }
            }

            packageView.registry = packageView.RegistrySelector.SelectRegistry("\t", packageView.registry);
            EditorGUILayout.EndToggleGroup();
        }
示例#2
0
        private void PackageGUI(PublicationPackageView packageView)
        {
            EditorGUI.BeginChangeCheck();

            if (initialSelection != null && initialSelection.packageId == packageView.package.info.packageId)
            {
                packageView.publish = true;
                initialSelection    = null;
            }

            packageView.publish = EditorGUILayout.BeginToggleGroup(packageView.package.displayName, packageView.publish);
            if (EditorGUI.EndChangeCheck())
            {
                if (!packageView.publish)
                {
                    publishAll = false;
                }
            }

            packageView.registry = packageView.RegistrySelector.SelectRegistry("\t", packageView.registry);
            EditorGUILayout.EndToggleGroup();
        }