// [MenuItem("Window/PerfAssist/TableView Demo")] static void Create() { DemoWindow w = EditorWindow.GetWindow <DemoWindow>(); if (w.GetType().Name == "DemoWindow") { w.minSize = new Vector2(800, 600); w.Show(); } }
void Application_Startup(object sender, System.Windows.StartupEventArgs e) { var window = new DemoWindow(); window.Show(); }