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