I need to texture my procedural mesh runtime. How do I do it? Unwrapping.GeneratePerTriangleUV seems to be removed. Also how do I get height and normalmaps to work?
Set the UV array for the mesh. Each entry in the array corresponds to the appropriate vertex in the vertex array for the mesh. What values you use depends entirely on how you want to texture the mesh.