c# - Apply texture to specific "square" (two triangles) of Mesh Plane unity -


i looking way apply texture specific square of mesh when square clicked on. know how vertices of square physics.raycast & converting triangle vertices. problem don't know how apply texture.

here example of want do. before click:

before click

and if clicked on upper left square. after click:

after click

(except colors textures).

any appreciated! ty!


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -