Skip to Content
Enterprise Augmented Reality Projects
book

Enterprise Augmented Reality Projects

by Jorge R. López Benito, Enara Artetxe González
December 2019
Intermediate to advanced content levelIntermediate to advanced
388 pages
8h 11m
English
Packt Publishing
Content preview from Enterprise Augmented Reality Projects

Scripts

Scripts, which are actually a type of component, are an essential part of Unity since they define the behavior of the different elements in the project. You can manipulate (add/edit/delete) a script like any other component.

Right-click on the Project window and press Create|C# Script to create a new script and give it a name (for example, CubeHandler.cs):

Creating a new script

In the Inspector window, you'll see that the newly created script has some default code in it. We'll talk about this code in the next section. Now that we have knowledge about the different elements of unity, let's learn to script in the following section.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unity 2018 Augmented Reality Projects

Unity 2018 Augmented Reality Projects

Jesse Glover
The Complete ARKit Course - Build 11 Augmented Reality Apps

The Complete ARKit Course - Build 11 Augmented Reality Apps

Daragh Walsh, Rayan Slim, Codestars By Rob Percival
HoloLens Blueprints

HoloLens Blueprints

Abhijit Jana, Manish Sharma, Mallikarjuna Rao

Publisher Resources

ISBN: 9781789807400Supplemental Content