コード例 #1
0
        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;
            }
        }
コード例 #2
0
 public static void ShowEditor()
 {
     backlog = (BacklogWindow)EditorWindow.GetWindow((typeof(BacklogWindow)), false, "Backlog");
     UScrum.RefreshSprintList();
 }