• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 104 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0032 秒)

101. Laya.URL.basePath加载不到网络资源 [ 24%]

...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

102. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 24%]

...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

103. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 23%]

...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

104. [LayaAirIDE3]xcode切入切出声音不播放 [ 22%]

...所有需要停止的逻辑         console.log("onBlur");         SoundManager.Instance.pauseBGM();         // // 部分机型包内不生效         SoundManager.Instance.pauseAllEffects();     }    private onFocus() {         if (!SoundManager.isPlay) {             S...

来源: Laya_社区 发布时间: 20250930