- Home /
how to assign mesh.vertices ToList linq extension
this doesnt work:
var mesh2 : Mesh = child.gameObject.GetComponent(MeshFilter).mesh;
var vtxlist = new List.<Vector3>();
var vtx2 = mesh2.vertices;
vtxlist = vtx2.ToList();
Assets/morphgen/Models/-=Norm.js(287,127): BCE0019: 'ToList' is not a member of 'UnityEngine.Vector3[]'.
Comment