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.

What is AK.Wwise.Event.IsValid() for?

0 votes
And where do I find docs on this and other Wwise Types methods and properties (there aren't any popup hints on many of these in VS either)?  And maybe some more examples as well?

This page is a tease and not very helpful:

https://www.audiokinetic.com/library/edge/?source=Unity&id=unity__wwise__types.html
asked Dec 8, 2018 in General Discussion by Matt J. (350 points)

2 Answers

0 votes
 
Best answer

Hey Matt, 

The .IsValid() function will return a boolean expression on whether you've selected anything in the Wwise-Type Event property drawer. 
Here's an example: 

You can also use .Validate() to get a print in the console for those Wwise-Type properties you haven't selected. 

Unfortunately, I don't have a link for you, but I hope this helps for now. 

answered Sep 27, 2019 by Mads Maretty S. (Audiokinetic) (38,720 points)
selected Dec 15, 2022 by Mads Maretty S. (Audiokinetic)
0 votes
Hey again Matt,

Based on this post, and others, we produced this video:
https://www.youtube.com/watch?v=2hy8xg38b9A&feature=youtu.be

Hope this helps you, or anyone else watching this post.
answered Dec 10, 2019 by Mads Maretty S. (Audiokinetic) (38,720 points)
...