大约有 2,538 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0077 秒)
Laya_社区(1915) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...ileMgr.filesListObj[sourceUrl]; thisLoader.event(Laya.Event.ERROR, "Load image failed"); }; 附件 : --> 2020-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 ...
来源: Laya_社区 发布时间: 20200427
...eying • 2017-01-18 12:21 再图片加载完成后,可以先侦听一个Event.LOADED事件,再回调里去获取getBounds值 qq502416708 • 2017-01-18 15:32 能写几句示例吗?图片是网络传过来的用户头像 cuixueying • 2017-01-19 15:38 就是获取你图片所在容器的getBo...
来源: Laya_社区 发布时间: 20170118
...l Classes | Index | Frames No Frames ComponentProperties | Methods | Events Packagelaya.uiClasspublic class ComponentInheritanceComponent Sprite Node EventDispatcher ObjectImplements IComponentSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, T...
来源: laya_api 发布时间: 20170929
JS版派发自定义事件出错。 随便用一个类继承EventDispatcher, 然后注册个自定义type的事件,再抛出,出错 ---------------------------------- __proto.event 方法中 if (listener) { (data != null) ? listener.runWith(data) : listener.run(); } 出错,原因listener.me...
来源: Laya_社区 发布时间: 20170120
...l Classes | Index | Frames No Frames SpotLightProperties | Methods | Events Packagelaya.d3.core.lightClasspublic class SpotLightInheritanceSpotLight LightSprite Sprite3D Node EventDispatcher Object SpotLight 类用于创建聚光。 Public Properties Hide Inherited Public Properties Show Inhe...
来源: Laya2.0_api 发布时间: 20190513
... SpineTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos...
来源: Laya2.0_文档 发布时间: 20210715
...相关的链接 提交 2 个回复 sfg007 赞同来自: onkeydown(e: Laya.Event): void{ console.log(e.keyCode); if(e.keyCode==37){//左 this.hero.pos(this.hero.x-100,this.hero.y); }else if(e.keyCode==39){/...
来源: Laya_社区 发布时间: 20161015
...var a = new Laya.Box(); a.left = a.top = a.right = a.bottom = 0; a.on(Laya.Event.RESIZE, this, () => { console.warn(" resize ===== "); }) Laya.stage.addChild(a); Laya.timer.loop(1000, this, () => { a.addChild(new Laya.Box()); }); --------------- 测试代码如上,每1s会回调一次控件 ...
来源: Laya_社区 发布时间: 20181214
...seDown、mouseOut 就能复现 Enheng • 2022-05-05 17:24 this.sp.on(Laya.Event.MOUSE_DOWN, this, this.text) this.sp.on(Laya.Event.MOUSE_OUT, this,this.text) Enheng • 2022-05-05 17:26 按道理来说,我未移出只做点击动作,应该只执行一遍text(),但是它执行了两遍 Laya_...
来源: Laya_社区 发布时间: 20220424
layaair2d的sprite的鼠标右键事件无效 self.getSprite().on(Event.MOUSE_DOWN, self, function (e) { console.log(e)鼠标左键点击有效果,但是右键无效果 附件 : --> 2022-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20220517