Creating and Using Scripts

“Learning the art of programming and the use of these particular languages is beyond the scope of this introduction. However, there are many books, tutorials and other resources for learning how to program with Unity. See the Learning section of our website for further details.”

I was flipping through the Scripting Overview section and noticed that most of the examples are in C#. I would add a sentence to the end of the above paragraph. I would say “You will find that most of the examples in this section are written in C#.”

By giving people a heads up, they can decide if they want to go learn C# first. They can do so by following the link in the paragraph that they just read. If this is not called out, the person may go ahead thinking they can adapt their JavaScript skills with UnityScript and may encounter a greater amount of difficulty than they are expecting.

Once upon a time all scripts were written in JS and converted into C#. Because the user base is now much more focused on c# that’s what we use now for code examples, and we convert those into JS. The intention is both languages are supported equally.

that’s a nice intention, but the javascript examples are mostly missing, so my previous post was just an idea to be helpful to new users.