In this section, we are going to create a script that will control the scene and allow our users to change the textures of the seats. Let's get started:
- In @MyAssets|Scripts, create a new C# script by right-clicking and selecting Create|New C# Script. Call it MainController and double-click on it to open it in Visual Studio:
- If you installed Unity by following the steps in Chapter 2, Introduction to Unity for AR Development, you will already have Visual Studio installed and configured, and it will open the script with the default code, as shown in the ...