コード例 #1
0
    static void Init()
    {
        // Get existing open window or if none, make a new one:
        LevelBuilderWindow window = (LevelBuilderWindow)EditorWindow.GetWindow(typeof(LevelBuilderWindow));

        window.Show();
    }
コード例 #2
0
    public static void Open()
    {
        windowInstance = GetWindow <LevelBuilderWindow>(false, "Level Builder");

        windowInstance.Show();
        windowInstance.Focus();
    }