static void OpenWindow()
    {
        EnemyDesignerWindow window = (EnemyDesignerWindow)GetWindow(typeof(EnemyDesignerWindow));

        window.minSize = new Vector2(600, 300);
        window.Show();
    }
Esempio n. 2
0
 static void OpenWindow()
 {
     //create window instance
     EnemyDesignerWindow window = (EnemyDesignerWindow)GetWindow(typeof(EnemyDesignerWindow));
     //set size window size
     window.minSize = new Vector2(600, 300);
     //for see the window
     window.Show();
 }