How to align Wave Texture to the curve I'm making waving texture, but the band is not aligned with the direction of the curve,like this,

What I want to achieve is the band should be directed by the curve direction as the red line shows, but how to setup properly, I've tried different texture coordinate all the same result.
Edit:My shader, but I do not see any UV map after press &quot;U&quot; on my keyboard

Edit2:I've tried the direction is all right but it gave me un-evenly bands, do you know why this is happening,thanks.
You don't tell a lot about your node setup, but try the Generated or the UV output socket of the Texture Coordinate node: