Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Unity Scripting

You're reading from   Mastering Unity Scripting Learn advanced C# tips and techniques to make professional-grade games with Unity

Arrow left icon
Product type Paperback
Published in Jan 2015
Publisher
ISBN-13 9781784390655
Length 380 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Alan Thorn Alan Thorn
Author Profile Icon Alan Thorn
Alan Thorn
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Unity C# Refresher FREE CHAPTER 2. Debugging 3. Singletons, Statics, GameObjects, and the World 4. Event-driven Programming 5. Cameras, Rendering, and Scenes 6. Working with Mono 7. Artificial Intelligence 8. Customizing the Unity Editor 9. Working with Textures, Models, and 2D 10. Source Control and Other Tips 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.

Starting the project

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

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime