Exemplo n.º 1
0
    static void OpenWindow()
    {
        Rect             wr     = new Rect(0, 0, 500, 500);
        CreateDataWindow window = (CreateDataWindow)EditorWindow.GetWindowWithRect <CreateDataWindow>(wr, true,
                                                                                                      "创建数据资源");

        window.Show();
    }
Exemplo n.º 2
0
 public static void OpenWindow()
 {
     if (instance == null)
     {
         instance = (CreateDataWindow)EditorWindow.GetWindow(typeof(CreateDataWindow));
     }
     instance.Show();
 }
Exemplo n.º 3
0
 private void CreateDataClick(object sender, RoutedEventArgs e)
 {
     dataWindow.Show();
 }