How to Raycast 2D Diagonally instead of Horizontal on a Platformer game.

Hi everybody…

I created a blink ability for my character and when I press the blink button, I send a raycast2D in front of the character, to take the new position to blink, like in:

The problem is because I want to create a raycast like this, but diagonally, like 45 degrees. How can I add a rotation to this raycast, instead of make it only horizontaly?

Thanks a lot. Ask me if I wasn’t clear enough.

I was trying something like this on the last week, but I didn’t find a solution for it, so I gave up.
I thought it would be simple, like add some angle on the direction, but it isn’t easy like that. I’ll keep the eyes here, maybe someone could help us. Good Luck!!