private void DrawCreateButton() { createAnother = EditorGUILayout.Toggle("Create Another", createAnother); if (GUILayout.Button(Environment.NewLine + "Add To Backlog" + Environment.NewLine)) { AddIssueToBacklog(); if (createAnother) { newTask = ScriptableObject.CreateInstance <Task>(); } else { BacklogWindow.ShowFocus(); Close(); } return; } }
public static void ShowEditor() { backlog = (BacklogWindow)EditorWindow.GetWindow((typeof(BacklogWindow)), false, "Backlog"); UScrum.RefreshSprintList(); }