static void OpenWindow() { SelectNode window = (SelectNode)GetWindow(typeof(SelectNode)); window.minSize = new Vector2(350, 500); window.Show(); }