版本
menu_open

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

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅