unity cos
Code Example - unity cos
Mathf.Cos(angle);
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