Hi there, I have another basic Unity question.
I managed to create a 1x1 plane using a script from Unify Wiki and attach a texture to it to display my player. My texture is 1024x1024 and should contain all my player animations.
How can I display the player correctly in the editor? I’d like to have the editor display the objects like this.
I tried to change texture tiling and offset without success. Is there something else I should change?
Thanks in advance
I am adding some images to better explain my problem.
This is what my plane in the editor should look like.
And this is what I get
What am I doing wrong???
Thanks
Again, I answer my own question for future reference
Looks like I fixed it by complement y tiling and y offset. As I understand, the UV coordinates are expressed in percentage and the V coordinate starts from bottom, so if I have 10 tiles in height, the y (v) offset should be 0.9.