You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You also have to send the mesh to a meshfilter if you want to render it
var mesh = Importer.Import(pathToFile)[0];
var meshFilter = new GameObject().AddComponent<MeshRenderer>().GetComponent<MeshFilter>();
meshFilter.sharedMesh = mesh;
I have a question how should I execute the import script during runtime?
I give the path to the Importer.Import() method but nothing happens.
Is there any other parameter that I should add to the method besides the path?
The text was updated successfully, but these errors were encountered: