Esempio n. 1
0
    static void Init()
    {
        // Get existing open window or if none, make a new one
        LevelWindow window = (LevelWindow)GetWindow(typeof(LevelWindow));

        window.Show();
    }
Esempio n. 2
0
    static void Init()
    {
        // Get existing open window or if none, make a new one:
        LevelWindow window = (LevelWindow)EditorWindow.GetWindow(typeof(LevelWindow));

        window.titleContent.text = "Level Debug";
        window.Show();
    }