コード例 #1
0
 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();
 }
コード例 #2
0
 private void checkValidity()
 {
     if (_ui == null)
     {
         _ui = new GlTFUI();
     }
     if (_importer == null)
     {
         Initialize();
     }
 }