[CC 3.3.2] – Cannot set volume between 0.0 to 1.0 – #5 by linrm – Cocos Creator


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?



Source link

More To Explore

Share on facebook
Share on twitter
Share on linkedin
Share on email