hi, I’m using BABYLON.Sound to play some sounds, I want to change a variable when a sound finished, how I can have this event?
Hey!
you can set that:
sound.onEndedObservable.add(function() {
});
hi, I’m using BABYLON.Sound to play some sounds, I want to change a variable when a sound finished, how I can have this event?
Hey!
you can set that:
sound.onEndedObservable.add(function() {
});