Wektor3

float angle = Vector3.SignedAngle(transform.forward, direction, Vector3.up);
Confused Constrictor