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(); }
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(); }