Comparison of Programming Languages

This is a comparison of the features and instructions of the three high-level programming languages offered by Unity: UnityScript/JavaScript, C#, and Boo. Update: As of version 2018.2, Unity now only officially supports the C# programming language.

Conventions of This Article
The bold is the literal code. The non-bold is interpreted by the reader. Statements in guillemets (« … ») are optional. “⇥	” indicates a necessary indent.

The following tables compare code differences of the Unity programming languages. See also the Comparison of Programming Languages for general information.

Features
The following tables compares major features of the Unity programming languages.

1 Normally Javascript in Unity uses type inference to statically type all variables when possible, in cases where the type is not explicitly stated. Dynamic typing can be forced if desired, and, in certain circumstances, dynamic typing is used unless forced otherwise. Use of the "#pragma strict" directive disables all dynamic typing.

Type Conversions
Programming Index