public void LoadModel(string path) { meshFilter.mesh = ObjImporter.CreateMesh(path); material = ObjImporter.CreateMaterial(); //will be reached from options menu meshRenderer.material = material; RepositionObject(); }