Init() public static method

public static Init ( BitmapSaverWindow, _parent ) : void
_parent BitmapSaverWindow,
return void
示例#1
0
    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();
    }