private void OnGUI()
    {
        draw = (TextureImporterSetting.show) ? false: true;
        draw = (Application.isPlaying) ? false: true;

        if (fType == fTypes.Length - 1)
        {
            draw = false;
            ExportTypesWindow.Init(((BitmapSaverWindow)this));
        }
        Handles.DrawLine(new Vector3(0, 0, 0), new Vector3(10, 0, 0));
        Handles.BeginGUI();

        AutoEditorResizer();
        GUI.enabled = draw;

        DrawDragLine(new Rect(15, 98, EditorRect.width - 30, EditorRect.height - 190));
        DrawDirectory();
        DrawFileList();
        DrawExporter();

        if (TextureImporterSetting.show)
        {
            TextureImporterWindow.Init(EditorRect);
        }

        Repaint();
        ResetStyles();

        Handles.EndGUI();
    }
    public static void Init(Rect pos)
    {
        TextureImporterSetting.show = true;

        if (window != null)
        {
            window.Show();
            return;
        }
        else
        {
            window          = ( TextureImporterWindow )EditorWindow.GetWindow(typeof(TextureImporterWindow), false, "TextureImporter Setting");
            window.position = new Rect(pos.x + 100, pos.y + 100, 210, 200);
            window.Show();
        }
    }
 private void Closer()
 {
     window.Close();
     window = null;
 }