Help! Tiling on generated mesh

Hi, I need help!

My mesh generated to point click on terrain for quad follow to next point click

My code generated UV on mesh

uvs=newVector2[newMesh.vertices.Length];
for(inti=0;i<uvs.Length;i++)
{
if(i%2==0)
{
uvs=newVector2(0f,(newMesh.vertices.x+newMesh.vertices_.z)/2*(UV0.1f));
}
else
{
uvs=newVector2(1f,(newMesh.vertices.x+newMesh.vertices.z)/2(UV0.1f));
}
}*

problem see to screenshot_

(if anyone else doesn’t immediately see it, the texture is stretched in the two highlighted spots in the image :slight_smile: )

problem solved thanks http://catlikecoding.com/about/