大约有 136 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0032 秒)
Laya_社区(127) Laya2.0_文档(3) Laya_示例(1) laya_api(1) Laya3.0_api(1) Laya2.0_示例(1) Laya2.0_api(1) Laya3.0_文档(1)
Laya.SoundManager.playSound报错 Laya.SoundManager.playSound("res/sound/bullet.mp3");官方的飞机教程,同样插入音效会报错 附件 : --> 2018-06-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 ...
来源: Laya_社区 发布时间: 20180614
... (!this.soundMan || this.playBoo) { this.soundMan = Laya.SoundManager.playMusic(this.leadSoundUrl, 1, Handler.create(this, this.soundEndFun1)); this._btnTimeOutPlay.visible = true; this._btnPlaySound.visible = false; this.playBo...
来源: Laya_社区 发布时间: 20190919
怎样暂停声音 我用SoundManager这个只能停止声音,不是暂停,再次点击还是重头播 SoundChannel有暂停,但是不知道怎么用 2018-04-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20180403
SoundManager播放音效时 setSoundVolume方法无法实时控制音量 这个正常么? 比如说我正在播放一段5秒钟的音效 用的playSound方法 在播放过程中使用setSoundVolume改变音量 当前播放的这段音效的音量并不会发生变化 只会从下次的才会变...
来源: Laya_社区 发布时间: 20170109
...e; // 背景乐开关 function onPlayBgMusic(url, loop, rate) { Laya.SoundManager.playbackRate = rate; if(soundControl){ Laya.SoundManager.playMusic(url, loop, Laya.Handler.create(this, onCompleteBgMusic, [loop, url])); } } function onCompleteBgMusic(loop, url) { ...
来源: Laya_社区 发布时间: 20170414
播放背景音乐出错 直接使用SoundManager播放mp3报错: Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. 相关代码Laya.SoundManager.playMusic("res/audio/bg.mp3", 0) 2018-06-08 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20180608
有没有SoundChannel的示例? SoundManager.playSound(_url, _loop, new Handler(this, _fn)); var channel:SoundChannel = new SoundChannel(); SoundManager.addChannel(channel); _btn.on(Event.CLICK, this, soundClick); function soundClick(evt:Event){ alert("channel.isStoped:"+channel.isStoped); if (ch...
来源: Laya_社区 发布时间: 20170116
...为接口不一样啊,图集文件用load,音频文件可以直接用 SoundManager.playMusic Faith_mkx • 2017-12-06 11:13 @wudi199553:音频文件直接PlayMusic会有问题,第一次Play由于没有预加载,第一次paly必定播放不出声音,只有第二次才有声音。所以对...
来源: Laya_社区 发布时间: 20171206
...有声音没有图像,在控制台有又看见video这个元素有 let SoundManager = Laya.SoundManager; export default class LoginGame extends Laya.Scene { constructor() { super(); LoginGame.instance = this; Laya.MouseManager.multiTouchEnabled = false; this.loadScene("LoginGame.scene"); } onEnabl...
来源: Laya_社区 发布时间: 20181124
...on: play() unity到导出场景加载时抛异常,不知所措 求教: soundManager如何停止正在播放的背景音乐 laya3D动画无法播放 播放声音出错,求指教 问题状态 最新活动: 2018-05-18 20:19 浏览: 734 关注: 2 人 yhcliang • 2018-05-19 10:45 Laya.SoundManager...
来源: Laya_社区 发布时间: 20180518