Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Replacing Unity sound entries by WWise sound entries/objects in a C# script

0 votes

Hello! 

I have a quick question about the Microgame FPS tutorial that comes with Unity 2019.4.8f1
As an exercice for WWise integration, I'm trying to replace all of the sounds included with the map, by those that I will integrate through WWise. For the ambiances and basic stuff it all works marvelously, but then I tried to integrate the SFX for the weapons and all of the SFX are imbedded in a script that has Unity sound entries, and I would like to replace them with entries from WWise.

Is there a way of editing that script to replace those Unity SFX entries by WWise ones, for someone who has limited ability in C#?


Thank you very much in advance!

 

asked Sep 30 in General Discussion by Pavel M. (100 points)

1 Answer

0 votes
Like you, I'm a sound designer with limited coding ability, but writing C# scripts to implement sound playback is quite simple.
You can refer to the section on using scripts to send Wwise events in the Wwise 301 certification course, which is described in detail at the following link.
https://www.audiokinetic.com/courses/wwise301/?source=wwise301&id=Lesson_4
In addition, a Youtube channel called Cujo Sound also has Unity+Wwise audio scripting tutorials that are perfect for sound designers to learn, entirely from a sound designer's perspective.
I hope you find this information helpful.
answered Oct 9 by Hou Chenzhong (Audiokinetic) (3,610 points)
...