An Audio Mixer snapshot is a way to record and save the complete state and settings of the mixer. A snapshot can then be restored later during editing or at runtime, and it is also possible to transition between multiple snapshots. You can use snapshot transitions for changes in a level, different rooms, or other effects. Let's take a look at how we can record and save a snapshot and then use it in play mode by following the example here:
- Open up the Unity editor and load the
Viking Village
project. If you have been following along through the book, you can continue using theGameAudio
project where we left it in the last chapter. - From the menu, select
Assets
|Import Package
|Custom Package;
this will open theImport package
dialog. Use the dialog to find where you downloaded the book's source code to and open theChapter_4_Assets
folder. Inside that folder, select theChapter_4_Start.unitypackage
and click onOpen
to load the package. Follow the import...