大约有 104 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0032 秒)
...768:1 Resources already exist,is repeated loading: https://piggy.q1.comres/sound/BGM.mp3 console.warn @ VM1768:1 Loader.cacheRes @ code.js:12995 SoundManager.playSound @ code.js:4963 SoundManager.playMusic @ code.js:4988 GameEx.onLoaded @ code.js:57359 GameEx.onLoaded2 @ code.js:57325 __proto.runWit...
来源: Laya_社区 发布时间: 20180531
...connect the AudioBufferSourceNode to the // destination so we can hear the sound source.connect(audioCtx.destination); // start the source playing source.start(); } ``` 运行上面的js代码,单击页面就会听到声音播放出来了。那么用LayaAir怎么写呢? ```java package { imp...
来源: Laya2.0_文档 发布时间: 20210715
...connect the AudioBufferSourceNode to the // destination so we can hear the sound source.connect(audioCtx.destination); // start the source playing source.start(); } 运行上面的js代码,单击页面就会听到声音播放出来了。那么用LayaAir怎么写呢? var audioCtx: any = new (Laya...
来源: Laya3.0_文档 发布时间: 20251010
...所有需要停止的逻辑 console.log("onBlur"); SoundManager.Instance.pauseBGM(); // // 部分机型包内不生效 SoundManager.Instance.pauseAllEffects(); } private onFocus() { if (!SoundManager.isPlay) { S...
来源: Laya_社区 发布时间: 20250930