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

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

841. 类似于list下的按钮监听 !如何去做。 [ 64%]

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

842. laya.d3.core.BaseCamera_API3.0 [ 64%]

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

843. 网页调试崩溃了 [ 64%]

...问题。那以后再说吧。 2018-08-23 0 1 分享 微博 QZONE 微信 S_eVent 赞同来自: 老铁我这边也出现了这个报错,请问有解决方案么? 2018-11-07 0 0 分享 微博 QZONE 微信 155*****727 赞同来自: 同出现问题,卸载重装开发者工具没报错了 2019-11-1...

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

844. laya.d3.core.light.SpotLight_API3.0 [ 64%]

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

845. 怎么给List下的每个item中的button添加事件? [ 64%]

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

846. 关于onFocus的问题 [ 64%]

...交 4 个回复 cuixueying 赞同来自: 你有给你的textInput.on(Laya.Event.Focus,this,this.onFocus)进行监听吗,如果有的话,可以把你的测试例子提供下,我们看下! 2017-08-01 0 0 分享 微博 QZONE 微信 akane01 赞同来自: 好像没有,请问怎么进行监听? ...

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

847. 使用 addChild 加载界面后,绑定事件报错 [ 64%]

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

848. [LayaAir3]Laya 2.x/3.x 演示项目中 Laya.timer.scale 和 Laya.SpineSkeleton.playbackRate 对部分骨骼加速不生效 [ 64%]

...pineAni.playbackRate(10); //侦听点击,换动画 this.spineBtn.on(Laya.Event.CLICK, this, this.changeAni); }第二,你通过Laya.timer.scale设置比较大的值,受限制是因为引擎中作了一些优化保护,让动画不至于播放过快。如果你想自己控制速度,我们也...

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

849. laya.d3.core.RenderableSprite3D_API3.0 [ 64%]

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

850. 问题发起指南 [ 64%]

...击穿透的问题 关于适配采用showAll后留白部分的颜色问题 event自定义事件的问题 写了个边缘光的自定义shader,有很多问题,帮忙看一下 问题状态 最新活动: 2017-03-24 11:44 浏览: 1190 关注: 2 人 cuixueying • 2017-03-24 11:17 附件给你了,...

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