I heard that if you do
Mesh mymesh = meshfilter.mesh;
it copies the mesh? Or is it just a reference to it? In the same way that Vertex[ ] myvertices = mesh.vertices; copies the entire array. Should I be worried about doing the above?
I heard that if you do
Mesh mymesh = meshfilter.mesh;
it copies the mesh? Or is it just a reference to it? In the same way that Vertex[ ] myvertices = mesh.vertices; copies the entire array. Should I be worried about doing the above?
it’s a reference to your mesh, not a copy.