Numerous times across documentation, I've seen usage examples for a function but often there's no mention of the expected result. i.e. http://docs.unity3d.com/ScriptReference/Mathf.CeilToInt.html On that page, there are examples of how to call CeilToInt, but never an example of what it returns for those calls! Please fix
Switch to JS; I guess the automatic C# code converter doesn't include comments for some reason. --Eric
Correct, as @Eric5h5 writes, our UnityScript-to-C# converter used for auto-converting the code to C# in the documentation unfortunately doesn't handle comments. For 5.x documentation we're using a new C#-to-UnityScript converter, which will convert comments as well, however we still need to manually convert all the examples into C#. So eventually this will happen, but for now you have to look at the UnityScript version of the sample code. Best regards, Rasmus