大约有 2,657 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0049 秒)
Laya_社区(2027) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(47)
...帮忙看一下 3D平行光产生的投影,如何修改颜色深浅? event自定义事件的问题 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 请问laya里如何解析json,似乎和AS3的不太一样。 "Background is not defined"怎么会没定义呢???求救 ...
来源: Laya_社区 发布时间: 20230913
....d3.coreClasspublic class GlitterRenderInheritanceGlitterRender BaseRender EventDispatcher Object ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By boundingBox : BoundBox[read-only] 获取包围盒,不允许修改其值。 BaseRender boundi...
来源: laya_api 发布时间: 20170929
... 我会使用下列方式监听视窗改变的事件。Laya.stage.on(Laya.Event.RESIZE,this,this.doResize.bind(this)); 并且会在该事件(doResize)中改变 Laya.stage.scaleMode 的值。doResize () { Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; } 但是我发现在onResize事件里...
来源: Laya_社区 发布时间: 20180321
... dataIndex = data[index]; var label = item.getChildByName('lab'); label.on(Event.CLICK,this,onClickBtn,[index]); } function onClickBtn(index){ for(var q = 0;q < 10;q++){ record_slide_list.getCell(q).getChildByName('lab').bgColor = '#f3d9b4'; } record_slide_list.getCell(index).getChildByName('lab'...
来源: Laya_社区 发布时间: 20170803
... 07-11 16:53:45.927 30921-30972/? E/jswrapper: ERROR: Uncaught TypeError: "event.type" should be a string., location: (no filename):0:0 2019-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来...
来源: Laya_社区 发布时间: 20190711
...ers/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27) at EventHandler.__proto.runWith (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:724:59) at Button.__proto.event (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:499:3...
来源: Laya_社区 发布时间: 20180709
...//每点一下就缩小0.05倍 Laya.stage.on(Laya.Event.MOUSE_DOWN,this,()=>{ _picScale-=0.05; sp.scale(_picScale,_picScale); //缩小到0.7倍时,图片就不见了 ...
来源: Laya_社区 发布时间: 20200422
...,调用completeHandler继续播放下一个动画 this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); }); } private completeHandler(): void { this.play(); } //播放骨骼动画 private play(): void { //每次到下一个动画 this.mCurrIndex++; if (this.mCurrIndex >...
来源: Laya3.0_文档 发布时间: 20251010
... name: "", inspector: "Buttons", options: { buttons: [{ caption: "生成", event: "click_start_gen" }] } } ] } ]); Editor.extensionManager.createSettings("SplitAtlasSetting", "project"); } } 2025-07-23 0 0 分享 微博 QZONE 微信 LayaAir小牛 赞同来自: 方法为Editor.showOpenDialog 2025-07-...
来源: Laya_社区 发布时间: 20250702
...请问下 let templet = new Laya.Templet(); templet.on(Laya.Event.COMPLETE, this, () => { this.skeleton = templet.buildArmature(1); this.pos1.addChild(this.skeleton); this.skeleton.play("work", true); ...
来源: Laya_社区 发布时间: 20210811