The FPSWalker script

In order to view any script in Unity, you will need to open it in the script editor. To do this, simply select the script in the Project panel, and then double-click on its icon to open it for editing.

On Mac, the default bundled script editor is called Unitron. On PC, the script editor is called Uniscite. These are standalone applications that simply allow you to edit various formats of text file, JavaScript and C# being two such examples.

There are other free text editors available that you may choose to use when writing scripts for Unity. You may set Unity to use a text editor of your choice. For the purposes of this book, we will refer to the default script editors Unitron and Uniscite.

Launching the script

Select the First ...

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