Adding the logic of the app

Now, let's create the logic of the app by adding a new script to the project. This will be the script in charge of switching between one and multiple chairs:

  1. In your @MyAssets|Scripts folder, in the Project window, right-click and select Create|C# Script. Call it OnTheGoHandler.cs:

Adding a new script in the Project window
  1. Double-click on it to open it in Visual Studio:

The OnTheGoHandler script in Visual Studio
  1. Add the Vuforia library at the top of the script to use its features:

using Vuforia;
  1. Inside the ...

Get Enterprise Augmented Reality Projects 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.