AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

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

0 支持

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!

 

Pavel M. (100 ポイント) 2020 9/30 質問 General Discussion

回答 1

0 支持
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.
Hou Chenzhong (Audiokinetic) (6,010 ポイント) 2020 10/9 回答
...