void OnEnable()
    {
        // Pre-fill model name with scene name if empty
        if (param_name.Length == 0)
        {
            param_name = EditorSceneManager.GetActiveScene().name;
        }

        SketchfabPlugin.Initialize();
        setupAPI();

        resizeWindow(loginSize);
        relog();
    }
    private void Initialize()
    {
        SketchfabPlugin.Initialize();         // Load header image
        setupAPI();

        _importer       = new GLTFEditorImporter(this.Repaint);
        _unzippedFiles  = new List <string>();
        _isInitialized  = true;
        _unzipDirectory = Application.temporaryCachePath + "/unzip";
        _header         = new GUIStyle(EditorStyles.boldLabel);

        _defaultImportDirectory = Application.dataPath + "/Import";

        this.minSize = minimumSize;
    }