cosine unity code example
Example: unity cosinus
Mathf.Cos(your value here); // Return an angle in radians
(Mathf.Cos(your value here) * 180)/Mathf.PI // Return an angle in degree
Mathf.Cos(your value here); // Return an angle in radians
(Mathf.Cos(your value here) * 180)/Mathf.PI // Return an angle in degree