I will give you tip that might not help you but I will still give it to you, Three is another way to work with angles and that is transform.eulerangles which is essentially a vector which is much easier
ive seen it used but i never knew how to use it lol