I’m having some trouble getting all sounds attached to a scene. When calling scene.sounds, I get an empty array. When calling a single sound directly using
scene.getSoundByName(), the expected
<Sound> object is returned.
Am I using
scene.sounds properly? Is there another (better) way to get all the sounds in a scene?
Please see lines 24-27 in this playground example:
Thanks for your help! This forum is awesome, btw