大约有 1,765 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0054 秒)
...ad("dragonBones/chicken/chicken.sk", Laya.Handler.create(this, (e) => { console.log(e); let num = skeleton.getAnimNum() let name = skeleton.getAniNameByIndex(num - 1); skeleton.play(name) })); this.owner.addChild(skeleton); 2019-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20190416
...使用promise 我现在这样用的话,会报一个错误,而且这样用console.lo()还不能用,请问promise该怎么用啊? 附件 : --> 2017-09-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 liwenhua...
来源: Laya_社区 发布时间: 20170915
...gin({ success(res) { console.log(res); .. 用AS3要怎么写 已解决__JS__('wx.login({success (res) {console.log(res) }})'); 2019-09-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20190919
...iderButton = this.progressSlider.getChildAt(2) as Laya.Button; console.log("sliderButton:", sliderButton); if (sliderButton) { sliderButton.on(Laya.Event.MOUSE_UP, this, () => { console.log("滑块按钮拖拽结束"); ...
来源: Laya_社区 发布时间: 20250710
... 2017-02-22 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 你的 console.log(guanbimyxd+2); console.log(uppage+2);写错了吧 应该是让组件的某个属性值去加上另外一个值,而并非组件本身吧! 2017-02-22 0 0 分享 微博 QZONE 微信 为什么被折叠...
来源: Laya_社区 发布时间: 20170222
...nt is not a function this.imageBg = this.owner.getChildByName("image_bg"); console.log("this.imageBg==="+this.imageBg); for (let iColumns = 1; iColumns < this.intColumns; iColumns++) { this.arrLove[iColumns] = []; for (let iRows = 1; iRows < this.intRows; iRows++) { let iNum = Math.round(Math....
来源: Laya_社区 发布时间: 20190625
...w Function(args[0], args[1], args[2]); var t = Function.apply(null, args); console.log( f(1,3) ); console.log( t(1,3) ); 这两个函数在Layabox开发时的目的都是生成一个不确定参数的函数,但导出到微信时Function会调用到其它函数中,请问怎么解决: 附件 ...
来源: Laya_社区 发布时间: 20181031
... private onPlayMusic(e: Event): void { console.log("播放音乐"); SoundManager.playMusic("../../res/sounds/bgm.mp3", 1, new Handler(this, this.onComplete)); } private onPlaySound(e: Event): void { ...
来源: Laya_社区 发布时间: 20201203
...谢谢? const scene = new Laya.Scene(); scene.onOpened = () => { console.log('scene onOpened'); }; scene.open(); console.log('scene', scene.active, scene.activeInHierarchy); Laya.timer.frameOnce(10, this, () => { console.log('scene 2', scene.active, scene.activeInHierarchy); }); 日...
来源: Laya_社区 发布时间: 20190218
...s,a.js 和 b.js ```javascript //a.js 中的内容: var a = function(){ console.log("a") } //b.js 中的内容: var b = function(){ console.log("b") } ``` 然后我们引用 js,调用2个方法,在 H5 上是可以正常输出内容的。 ```javascript require("a.js") require("b.js") a(); //...
来源: Laya2.0_文档 发布时间: 20210714