Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Generic list length?

$
0
0
if I convert mesh.vertices of 4000 vertices to a Genericlist "vertexlist", and I ask for the vertexlist.Count and the vertexlist.Capacity, it tells me 65530. How can I get the length of the generic list? It should be 4000 vertices also because I did var vtxtemp = new List.(vertices); Debug.Log( "count " + vtxtemp.Capacity ); I want to change the triangle[] to a new vertex added at the end of the vertices array.

Viewing all articles
Browse latest Browse all 171066

Trending Articles