O'Reilly logo

Learn Unity 3D Programming with UnityScript: Unity's JavaScript for Beginners by Janine Suvak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required