private void DrawMainButtons() { EditorGUILayout.Separator(); GUILayout.BeginHorizontal( ); if (GUILayout.Button("Add Build")) { Manifest.AddBuild(); } //EditorGUILayout.Space(); GUI.enabled = BuildViews.Any(view => view.BuildChecked); if (GUILayout.Button("Build Checked Builds")) { foreach (var buildView in BuildViews) { if (!buildView.BuildChecked) { continue; } buildView.Build.Build(); } } GUI.enabled = true; GUILayout.EndHorizontal(); }