Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. 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, 2020 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, 2020 by Hou Chenzhong (Audiokinetic) (5,990 points)
...