static void AddWindow_CheckFile()
    {
        //创建窗口
        Rect             wr     = new Rect(0, 0, 450, 800);
        InputPathWindows window = (InputPathWindows)EditorWindow.GetWindow(typeof(InputPathWindows), false, "ToolWindow");

        window.Show();
    }
Exemple #2
0
    static void CreateABFilesWindow()
    {
        //创建窗口
        Rect             wr     = new Rect(0, 0, 1500, 300);
        InputPathWindows window = (InputPathWindows)EditorWindow.GetWindow(typeof(InputPathWindows), false, "打包assetbundle");

        window.Show();
        OpenWindow(2);
    }
Exemple #3
0
    static void AddWindow()
    {
        //创建窗口
        Rect wr = new Rect(0, 0, 450, 800);
        //InputPathWindows window = (InputPathWindows)EditorWindow.GetWindowWithRect(typeof(InputPathWindows), wr, false, "模型检错和预制体操作");
        InputPathWindows window = (InputPathWindows)EditorWindow.GetWindow(typeof(InputPathWindows), false, "ToolWindow");

        window.Show();
        OpenWindow(1);
    }