GL Lines With Textures

So currently I have a line drawn with GL Lines in my Unity script. I have completely no idea on how to render the line with a texture.

I’m drawing the line in 2D.

Any help is appreciated. Codes are even more so. :smiley:

You could use the Line Renderer: