Convert angle to Vector2

i need to convert an angle to a vector2 to move a characterController (i’m making first person character movement and need to change the angle according to the camera). i can’t find any built-in functions and i can’t find anything useful to me online. i’ve tried everything i can think of so far but nothing has worked and this is my last idea. please help.

Vector2 rotatedDirection = Camera.main.transform.TransformVector(direction);