示例#1
0
        public static void Open(TaskEditor editor, TaskWindowData data)
        {
            TaskWindow window = GetWindow <TaskWindow>("Task editor");

            window.minSize = new Vector2(300, 100);
            window.editor  = editor;
            window.CreateField(data);
        }
示例#2
0
 public static void Open(TaskEditor editor)
 {
     Open(editor, new TaskWindowData());
 }