It's all Greek to me

First, we created a JavaScript Script. Unity Scripts are written in three languages that are somewhat like English: JavaScript, C#, and Boo. Of these, JavaScript and C# are the two most commonly used languages in Unity. You may have already dabbled in JavaScript if you've tried your hand at web development. Unity's version of JavaScript (called "UnityScript") is a bit different because it talks about Unity-related things and runs much faster than your father's JavaScript.

In this book, we'll use JavaScript because it's the simplest of the three languages to learn. For this reason, many of the online Unity scripting tutorials you'll find are also written in JavaScript.

Tip

Look Sharp

One major difference between JavaScript and ...

Get Unity 4.x Game Development by Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.