hananht
#1
Hello,
I am trying to set volume to audio source like this:
this.audioSource.volume = 0.5;
Looks like its not responding at all.
However, if I set it to 0 it will be muted and 1 it will be set to full volume.
On previous CC 2.4.4 it works fine with:
cc.audioEngine.setVolume(...)
Why is it not working here?
I can ask engineering to have a look.
linrm
#3
I set volume like you, and it works fine, which platform you test?
hananht
#4
Cocos Creator 3.x.x (all of them)…
Build on android and web mobile
Developed on win10/11
linrm
#5
audioVolume.zip (4.1 MB)
This is the demo i tested, could you offer me your test demo?