menu
 

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.

0 votes
Hello.
Can I select wwise event directly through code? using script that is pure c#, not extends MonoBehaviour. That means without Unity inspector.

I was thinking maybe something like:
Say i've created an event on Wwise app named "ui_buttonClick". Then on unity pure c# script, i call
Ak.Wwise.Event selectedEvent = //some Ak API that takes "ui_buttonClick" as parameter?
selectedEvent.Post(selectedGameObject);

I want it to be able to read the item context, not inputting direct Wwise item Guid as parameter for example.

Using Wwise 2023.1.3.8471
in General Discussion by Raihan A. (100 points)

Please sign-in or register to answer this question.

...