Understanding the axController script

As you may have noticed, we avoided the tough work of manually entering the axController script. Instead, the script was provided as part of the chapter assets, not because the script is complicated, but because we wanted to focus on understanding audio rather than improving your typing skills. Although, we do still want to take the time to look over the script and understand the inner workings.

Open up Unity and follow the steps given to open the script in the editor:

  1. Go to the Project window, and in the search field, type axcontroller. This will filter the contents of the Project window to show you the axController script. The file is shown in the screenshot here:
Finding and selecting the axController ...

Get Game Audio Development with Unity 5.X 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.