Beispiel #1
0
    // [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();
        }
    }
Beispiel #2
0
        void Application_Startup(object sender, System.Windows.StartupEventArgs e)
        {
            var window = new DemoWindow();

            window.Show();
        }