Answers for "Float and Double conversion issues"
http://answers.unity.com/questions/823994/float-and-double-conversion-issues.html
The latest answers for the question "Float and Double conversion issues"Answer by robertbu
http://answers.unity.com/answers/824004/view.html
The 'Math' is a .NET class. Math.Sin() and Math.Cos() both return doubles, and you are assigning the result to a float. The best fix is to use Unity's 'Mathf' class (note the 'f' on the end):
basecordinantx = Mathf.Sin (camy);
Or if there is some reason you really want the 'Math' class, you can do:
basecordinantx = (flaot)Math.Sin (camy);Tue, 04 Nov 2014 17:18:26 GMTrobertbu