private void Initialize() { _importer = new GlTFImporter(UpdateProgress, OnFinishImport); _unzippedFiles = new List <string>(); _unzipDirectory = Application.temporaryCachePath + "/unzip"; _defaultImportDirectory = Application.dataPath + "/Resources"; _importDirectory = _defaultImportDirectory; _importFilePath = _sourceFileHint; _ui = new GlTFUI(); }
private void checkValidity() { if (_ui == null) { _ui = new GlTFUI(); } if (_importer == null) { Initialize(); } }