大约有 99 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
...题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 微信小游戏编译报错 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? 本地调试加载本地图片都报错 IDE通过.ui自动生成的ui代码报错 runtime运行...
来源: Laya_社区 发布时间: 20220322
...ion Methods dispose event hasListener load off offAll offAllCaller on once play Accessors duration get duration(): number Defined in laya/media/Sound.ts:31 获取总时间。 Returns number Methods dispose dispose(): void Defined in laya/media/Sound.ts:38 释放声音资源。 Returns void event eve...
来源: Laya3.0_api 发布时间: 20231115
..."true") state.clip.islooping = true; this.ani.addState(state); // this.ani.play(arrString[2]); } } /**播放动画 */ public playAni(aniName: PERSON_ANI, islooping: boolean = true): void { console.log("播放:" + aniName); this.ani.getControllerLayer().getAnimatorState(aniName).clip.islooping = is...
来源: Laya_社区 发布时间: 20190802
...通知,此侦听事件响应一次后自动移除。 EventDispatcher play(startTime:Number = 0, loops:Number = 0):SoundChannel 播放声音。 SoundProperty Detaildurationpropertyduration:Number [read-only] 获取总时间。 Implementation public function get duration():NumberMethod...
来源: laya_api 发布时间: 20170929
...通知,此侦听事件响应一次后自动移除。 EventDispatcher play(startTime:Number = 0, loops:Number = 0):SoundChannel 播放声音。 SoundProperty Detaildurationpropertyduration:Number [read-only] 获取总时间。 Implementation public function get duration():NumberMethod...
来源: Laya2.0_api 发布时间: 20190513
...到设备目录1.4 修改代码中的扩展路径1.5 运行测试2. Google Play APK扩展文件机制Android文件扩展机制 LayaNative不仅支持把资源打包在assets目录下,还支持把资源打包成zip文件,放到任意文件路径下。LayaNative文件系统会先在assets目录下...
来源: Laya3.0_文档 发布时间: 20251010
...ion volume Methods event hasListener off offAll offAllCaller on once pause play resume stop Properties completeHandler completeHandler: Handler Defined in laya/media/SoundChannel.ts:28 播放完成处理器。 isStopped isStopped: boolean = false Defined in laya/media/SoundChannel.ts:24 表示声音...
来源: Laya3.0_api 发布时间: 20231115
... this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); }); } private completeHandler(): void { this.play(); } //播放骨骼动画 private play(): void { //每次到下一个动画 this.mCurrIndex++; if (this.mCurrIndex >= this.mArmature.getAnimNum()) { this.mCurrIndex =...
来源: Laya3.0_文档 发布时间: 20251010
...自动移除。 EventDispatcher pause():void 暂停。 SoundChannel play():void 播放。 SoundChannel resume():void 继续播放。 SoundChannel stop():void 停止。 SoundChannelProtected Methods MethodDefined By __runComplete(handler:Handler):void private SoundChannelProperty Det...
来源: laya_api 发布时间: 20170929
...题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 微信小游戏编译报错 真机调试报错:LayaPlayer不支持的标签</SCRIPT> laya2 发布微信开放域工程,用微信开发者工具打开报错 用了ByteArray的zlib.min.js后报错 runtime运行...
来源: Laya_社区 发布时间: 20170424