public static void OpenWindow() { EditSettingsWindow window = (EditSettingsWindow)GetWindow(typeof(EditSettingsWindow)); window.minSize = new Vector2(900, 700); window.Show(); }
public static void ShowEditSettingsView() { var viewModel = new EditSettingsWindowViewModel(); var window = new EditSettingsWindow(viewModel); window.Show(); }
public static void OpenWindow(GenerationSettings genSetts) { EditSettingsWindow window = (EditSettingsWindow)GetWindow(typeof(EditSettingsWindow)); window.serializedObject = new SerializedObject(genSetts); window.minSize = new Vector2(450, 300); window.Show(); }