大约有 1,246 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(924) Laya3.0_api(80) Laya2.0_文档(78) Laya_示例(64) Laya2.0_示例(51) Laya3.0_文档(45) laya_api(2) Laya2.0_api(2)
...2018-06-28 23:26 给 Sprite 中 按键设置name ,然后通过 Sprite.on(Event.CLICK,this,yfqian_GameUi); public function yfqian_GameUi(e:Event):void{ trace("Sprite:",e.target.name) }
来源: Laya_社区 发布时间: 20180627
...ld addChildAt addChildren addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...
来源: Laya3.0_api 发布时间: 20231115
...问题。那以后再说吧。 2018-08-23 0 1 分享 微博 QZONE 微信 S_eVent 赞同来自: 老铁我这边也出现了这个报错,请问有解决方案么? 2018-11-07 0 0 分享 微博 QZONE 微信 155*****727 赞同来自: 同出现问题,卸载重装开发者工具没报错了 2019-11-1...
来源: Laya_社区 发布时间: 20180822
...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...
来源: Laya3.0_api 发布时间: 20231115
...tn); console.log(btn.id); } for(var i = 0; i < 5; i++){ btns[i].on(Laya.Event.CLICK,this,judge,[i]); } function judge(aa){ console.log("___________"+aa); } 我就是这么做的,结果打印出来全是4,前面的按钮被最后的一个覆盖,这是为什么?
来源: Laya_社区 发布时间: 20180817
...交 4 个回复 cuixueying 赞同来自: 你有给你的textInput.on(Laya.Event.Focus,this,this.onFocus)进行监听吗,如果有的话,可以把你的测试例子提供下,我们看下! 2017-08-01 0 0 分享 微博 QZONE 微信 akane01 赞同来自: 好像没有,请问怎么进行监听? ...
来源: Laya_社区 发布时间: 20170801
...uctor() { super(); this.btnStart.on(Laya.Event.CLICK, this, this.startGame); } startGame(): void { //Laya.Scene.open("GameView.scene"); if (!Main.gameView) { Main.gameView = new GameView(); ...
来源: Laya_社区 发布时间: 20190510
...pineAni.playbackRate(10); //侦听点击,换动画 this.spineBtn.on(Laya.Event.CLICK, this, this.changeAni); }第二,你通过Laya.timer.scale设置比较大的值,受限制是因为引擎中作了一些优化保护,让动画不至于播放过快。如果你想自己控制速度,我们也...
来源: Laya_社区 发布时间: 20241217
...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...
来源: Laya3.0_api 发布时间: 20231115
...击穿透的问题 关于适配采用showAll后留白部分的颜色问题 event自定义事件的问题 写了个边缘光的自定义shader,有很多问题,帮忙看一下 问题状态 最新活动: 2017-03-24 11:44 浏览: 1190 关注: 2 人 cuixueying • 2017-03-24 11:17 附件给你了,...
来源: Laya_社区 发布时间: 20170324