Join Kelley Hecker for an in-depth discussion in this video Unity scripting languages, part of Unity: Scripting with C#.
Finally, we have Boo. Boo has a syntax similar to Python, which many people like for being more human readable than other languages. However, the number of people using Boo in Unity compared to C# or UnityScript is so small that it can be difficult to find resources on it. In Unity 5, Boo documentation support will be dropped and the "Create Boo Script" menu item removed. Whichever language you decide to use, you should stick to one language for your entire project. While different languages can be mixed in the same project, it's not recommended.
Because the scripts are compiled at different times, you can run into issues where one script is trying to reference something in another script that hasn't been compiled yet. So, it's best to pick one language and stick with it.
- Defining classes and variables
- Attaching scripts to objects
- Understanding MonoBehaviour class
- Using the Unity Scripting API
- Importing assets
- Using a singleton pattern to manage game state
- Creating an event
Skill Level Intermediate
Q: Why am I getting a script compile error when trying to load the exercise files?
A: This course was recorded in Unity 4.6, and Unity has since released Unity 5. There are two items to address for Unity 5 users.
Q: Why can't I see the Render Settings option in the Edit menu?
A: The Render Settings options have been moved in Unity 5. You can access them by going to the Window menu and choosing Lighting. In the window that loads, Render Settings can be found under the Scene tab.