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

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

181. 下来框ComboBox的change事件怎么绑定 [ 69%]

...相关的链接 提交 1 个回复 189*****192 赞同来自: box.on(Laya.Event.CHANGE,this,方法名称);    2017-10-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 qq1297404644 相关问题 分享:自定义事件派发与侦听(...

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

182. 高级应用-寻路导航 [ 69%]

...orm.rotate(new Laya.Vector3(-45, 180, 0), true, false); Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { this.index = 0; //获取每次生成路径 this._everyPath = pathFingding.findPath(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this...

来源: Laya_示例 发布时间: 20260106

183. 多个骨骼动画怎么按顺序播放? [ 69%]

...享 微博 QZONE 微信 189*****192 赞同来自: animationUI.animation.on(Event.COMPLETE, this, this.onAnimationEnd);  监听动画播放完成 再开始播放下一个 2017-09-20 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 scorpio ...

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

184. 动画不显示 [ 69%]

...import laya.display.Stage;     import laya.ui.Label;     import laya.events.Event;     import laya.utils.Browser;     import laya.utils.Timer;     import laya.display.Sprite;     import laya.net.Loader;     import laya.ui.TextArea;     import laya.resource.Texture;     imp...

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

185. [LayaAirIDE3]咋么实现鼠标点击角色移动 [ 69%]

... false=不循环 clipPath=动画资源路径 this.iceMonsterAni.once(Laya.Event.COMPLETE, this, () => { this.iceMonsterAni.visible = false; }); } } 你看看。 LayaAir小牛 • 2025-12-22 15:41 @ZmySir:可以把项目打包发一个demo吗 ZmySir • 2025-12-22 16:18 demo怎么发给你? Laya...

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

186. 图片添加点击事件 有的不生效 [ 69%]

... private init():void { //添加点击事件处理 this.v_btn_boy.on(Laya.Event.CLICK, this, this.onClickBtnBoy); this.v_btn_friend.on(Laya.Event.CLICK, this, this.onClickBtnFriend); this.v_btn_shop.on(Laya.Event.CLICK, this, this.onClickBtnShop); console.log("init main scene"); } //点击羁绊 priv...

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

187. 射线一直无法获取物体 [ 69%]

... = scene.addChild(Laya.Sprite3D.load("./test.lh"));     qb_pet.once(Laya.Event.HIERARCHY_LOADED, this, function(){         qb_pet.addComponent(Laya.SphereCollider);     });   设置射线:    Laya.timer.frameLoop(1, null, checkHit);     var hit = new Laya.RaycastHit();     var point...

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

188. 精灵添加名称 [ 69%]

...  sp = project.drawsomething(20, 20+60*i, "#eeb9b3");         sp.on(Event.CLICK,this, onsp);         Laya.stage.addChild(sp);   }   private function onsp(e:Event){              console.log("监听到按钮"+e.target);              console.log((e.target.getChildAt(0) as ...

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

189. 取消监听鼠标移动事件,取消不了 [ 69%]

取消监听鼠标移动事件,取消不了 Laya.stage.off(Laya.Event.MOUSE_MOVE,this,null); 第三个参数是函数,不能为null吗?是不是和on绑定时的同一个函数,如果on里面用匿名函数,off第三个参数怎么写? 2018-06-23 添加评论 免费帖 --> 分享 微博...

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

190. 向官方反映1.75引擎库后 事件执行 发生的bug [ 69%]

...      *执行事件处理。         */         __proto.runEvent=function(){             var len=this._eventList.length;             if (!len)return;             var _this=this;             var i=0;             var localevnetList = this._e...

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