|
I have a monospaced image of the numbers 0 to 9 and I need to map them to a group of square planes. The end result would be a score display of six planes with the numbers 0 - 9 mapped to each. I was planning on using the UV Animator extension from the Unity Wiki but its still down (Damn hackers) I tried playing around with GetComponent().mesh.uv[x] = new Vector2(u,v) but I cant seem to figure it out. Right now all the planes are set to 0 so I guess all I need to do is move the UVs to the right to change the number. If I could get one of the planes working I could easily do the rest. Each plane has 4 vertices. Also, my scripts are in C# but answers in JS are ok if its easier for you.
(comments are locked)
|
|
Figured it out. Here is the answer.
(comments are locked)
|

Figured it out. Here is the answer.
post it as an answer and check it solved