Convert "Double" to "Float" or "Int"? - Unity Answers
Exactly. In C# you have to give number literals an "f" suffix so it's actually a float. In UnityScript it's reverse. Un US the default type is float, in C# it's double. These linen of code (which are valid in both languages) produce different variables de...