Game development -cocos creator stepped pit -cc.audioEngine.setMusicVolume

2.1.0 version of the engine, when using cc.audioEngine.setMusicVolume set the volume, mute the game set the volume to zero but in vain,

cc.audioEngine.setMusicVolume(0)
The solution is set to 0.01
cc.audioEngine.setMusicVolume(0.01)

Guess you like

Origin www.cnblogs.com/orxx/p/11008852.html