using AsImpL;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Importer : MonoBehaviour {

    public ImportOptions options;

    public Transform positionToSpawn;

    ObjectImporter objImporter;
	
    public void ImportFromImports()
    {
        objImporter = gameObject.GetComponent<ObjectImporter>();

        objImporter.ImportModelAsync("model", "C:/Bakalarka/mesh-deformation-in-vr/Assets/Import/softTissue2.obj", positionToSpawn, options);
        //GameObject imported =  //("C:/Bakalarka/mesh-deformation-in-vr/Assets/Import/model.obj");
        //Instantiate(imported, positionToSpawn);
    }
}
