How to make tiled vertically but stretched horizontally uGui image

Hi,

I want to achieve a very simple ui with an image that should scale horizontally but repeat or tile vertically. How can I do that?

Edit:
I want the image to preserve its aspect, so the height should match the aspect and the scaled width, then repeated.

Thanks for advance.

1 Like

Its an old question, but this is how you do it:

  • Select the texture2d that you want to use
  • In wrap mode select: Per axis
  • Set values U and V as repeat or clamp to repeat it in the axis X or Y respectively.
1 Like