Book Image

Mastering Unity Scripting

By : Alan Thorn
Book Image

Mastering Unity Scripting

By: Alan Thorn

Overview of this book

Table of Contents (17 chapters)
Mastering Unity Scripting
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Starting the project


To start, create a blank, new Unity project with a new scene. For this sample, I've imported several Unity asset packages via the file menu command by selecting the Import Package option from Asset. The packages are Character Controller, Skyboxes, and Particles, as shown in the following screenshot. Character Controllers features the constructor mesh and animations, as well as a first-person controller prefab.

The Skyboxes package adds some eye candy for a sky that the camera will see, and the Particles package will be used to create a teleporter device, as we'll see.

Importing assets into the project

Also, add a first-person controller and the maze mesh to the scene (the mesh is included in the book's companion files in the assets folder of this chapter) and create some lighting and light mapping to make things look good initially. The mesh was created in a 3D modeling program, in this case, Blender (http://www.blender.org/).None of these assets are, however, critical...