Chapter 2. Prototyping and Scripting Basics

When starting out in game development, one of the best ways to learn the various parts of the discipline is to prototype your idea. Unity excels in assisting you with this, with its visual scene editor and public member variables that form settings in the Inspector. To get to grips with working in the Unity editor, we'll begin by prototyping a simple game mechanic using primitive shapes and basic coding.

In this chapter, you will learn about:

  • Creating a New Project in Unity
  • Importing Asset packages
  • Working with game objects in the Scene view and Hierarchy
  • Adding materials
  • Writing C Sharp (C#) and Javascript
  • Variables, functions, and commands
  • Using the Translate() command to move objects
  • Using Prefabs to store ...

Get Unity 3.x Game Development Essentials 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.