目次

Integrating sounds in your game

At this point, you should be able to try playing sounds from Wwise in your game. If you haven't already set up your Wwise project with a few sounds, events, and SoundBanks, you will need to start Wwise and create the following:

  1. Import a WAV file. Drag and drop one from a Windows Explorer window to the Project Explorer's Audio tab. This will create a Sound.
  2. Create an Event. Right-click on the Sound and select New Event. Name it appropriately.
  3. Create a SoundBank. Go to the SoundBanks layout (F7). Click New.
  4. Put your event in the SoundBank. To do so, drag and drop the Event from the Project Explorer to the SoundBank.
  5. Click Generate SoundBanks. You now have something to play.

Now, to integrate a sound in your Unity project:

  1. Open the Wwise Picker window (Window > Wwise Picker). If you have properly set up the Wwise Project path in the Wwise Setup window, it should show you your Events and your SoundBanks.
  2. Drag and drop your SoundBank on the object in your scene.
  3. Drag and drop your Event on an object in your scene.
  4. Play your game! You should hear a sound on start-up.

You didn't hear anything? Read more on the Troubleshooting page.

Integrate more sounds

The current integration of Wwise into Unity provides a few Unity components that will cover some of the regular usage cases.

However, it is important to have the support of a programmer to write scripts to implement the more complex behaviors you want in your game. You can find more information on the Wwise API in these two sections:

Generated on Tue Aug 23 02:44:59 2016 for Wwise Unity Integration by  doxygen 1.6.3