|
Post by sologames on Jun 19, 2021 14:38:25 GMT
Hello, I have a problem with adding EventSounds. Can't find any event like OnTriggerEnter or OnCollisionEnter. In the previous version, I have seen that kind of events, but in new is not. Here is the list: Unity: 2021.1.7f1 MasterAudio: 2020.3.8
|
|
|
Post by DarkTonic Dev on Jun 19, 2021 17:54:39 GMT
#1, check that you actually have a collider on the object. #2, make sure that you've enabled Physics3D and/or Physics2D support from the Master Audio Welcome window. That was changed a year or so ago so that people who don't install the package can initially compile our code.
-Brian
|
|
|
Post by sologames on Jun 19, 2021 18:00:53 GMT
Didn't know about Physics3D checkbox) Now it works fine. Thank you!
|
|
|
Post by DarkTonic Dev on Jun 20, 2021 1:16:22 GMT
No problem. It's actually mentioned at the top of the Event Sounds documentation page. If you clicked the green question mark icon on the script, it takes you there and you would have seen the "NOTE" right at the top. Always a good place to check, since I keep it up to date! www.dtdevtools.com/docs/masteraudio/EventSounds.htm-Brian
|
|