Commit af39239b by Mike Zhu

bgm设置无限循环

parent 3f9c7cd9
......@@ -70,7 +70,7 @@ class Main extends egret.DisplayObjectContainer {
})
console.log(userInfo);
SoundManager.getInstance().play({soundName: "bgm_mp3"})
SoundManager.getInstance().play({soundName: "bgm_mp3", loops: -1})
platform.onShareAppMessage((...args) => {
return {
title: "恶魔妈妈买面膜",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment