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

Get Mastering Unity Scripting 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.