Chapter     2

Game Programming 101

Now that you know your way around the Unity editor, you are ready for an introduction to the scripting editor MonoDevelop. These are your two primary tools for game development. The Unity editor is where you build your game visually, assembling the layout of your scene by placing the game objects within it. MonoDevelop is the scripting editor where you write your code. The code tells the game objects how to behave, such as responding to player input or to each other. Your code script is incorporated into your game when you attach it to a game object. In this chapter you will learn how to create a script, write some simple code, then attach the script to a game object.

You installed MonoDevelop along with Unity ...

Get Learn Unity 3D Programming with UnityScript: Unity's JavaScript for Beginners 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.