大约有 1,491 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
Laya_社区(917) Laya2.0_文档(193) Laya_示例(125) Laya2.0_示例(101) Laya3.0_api(79) Laya3.0_文档(72) laya_api(2) Laya2.0_api(2)
...howSkinByIndex(1); this._spine.play('yidonggongji', true); this.testSkePos.addChild(this._spine); //创建一个发光滤镜 var filter: Laya.GlowFilter = new Laya.GlowFilter("#ffff00", 10, 0, 0); //设置滤镜集合为发光滤镜 this._spine.filters = [filter]; this.listAction.array = this._spine...
来源: Laya_社区 发布时间: 20181127
...); this.mAnimaCur.interval = 100; this.addChild(this.mAnimaCur); } var loop = true; if (anaimaname == WEAPON_ANIMA_FIRE) { this.mAnimaCur.interval = 60; loop = false; }...
来源: Laya_社区 发布时间: 20161205
...ler = new Handler(this, this.onSelect); this.addChild(list); list.array = data; } updateListItem(cell: BagItem, index: number):void{ console.log("3333333333333"); if (cell.useBtn.clickHandler == undefined) {...
来源: Laya_社区 发布时间: 20170310
...gressBar.changeHandler = new Laya.Handler(this, this.onChange); this.owner.addChild(this.progressBar); Laya.timer.loop(100, this, this.changeValue); }); } // 模拟进度条加载 private changeValue(): void { if (this.progressBar.value >= 1) this.progressBar.value = 0; this.progressBar.value += ...
来源: Laya3.0_文档 发布时间: 20251010
...2); this.fly.pos(Laya.stage.width / 2, Laya.stage.height / 2); this.diango.addChild(this.fly) this.diango.show(); this.diango.popup(); } _proto.onClose = function () { this.diango.close(); } return Loading_fly; }(Laya.Sprite); 2017-11-08 0 0 分享 微博 QZONE 微信 wudi199553 赞同来自: 根据...
来源: Laya_社区 发布时间: 20171107
...(600,400); this.sp = new Laya.Sprite(); Laya.stage.addChild(this.sp); var arr:Array<any> = [this.sp,1,2,3]; this.sp.graphics._saveToCmd(this.test1,arr); } test1(x,y,args):void { console.log("args[0]"+args[0]+",args...
来源: Laya_社区 发布时间: 20170316
...? g_uiScroll = new UIScroll(610,127); g_uiScroll.pos(70,30); scollbg.addChild(g_uiScroll); m_talkScroll = new UIScroll(610.0, 250); m_talkScroll.pos(60, 500); this.addChild(m_talkScroll); 2017-11-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20171122
...1 = Laya.loader.getRes("3D/LayaScene_map/Conventional/map.ls"); Laya.stage.addChild(this.scene1); this.myCar = this.scene1.getChildByName("myCar"); var scale = new Laya.Vector3(2, 2, 2); this.myCar.transform.localScale = scale; let a = this.myCar.addComponent(Laya.PhysicsCollider); }报错如附件...
来源: Laya_社区 发布时间: 20190620
...gt;{ let aaa = new Laya.Sprite(); this.addChild(aaa); aaa.x = 100; aaa.y = 100; aaa.texture = data.frames[0]; let bbb = new Laya.Sprite(); this.addChild(bbb); ...
来源: Laya_社区 发布时间: 20250801
... } createText() { const Text = Laya.Text; let txt = new Text(); Laya.stage.addChild(txt); //给文本的text属性赋值 txt.text = "Layabox是性能最强的HTML5引擎技术提供商与优秀的游戏发行商,面向Flash开发者提供HTML5开发技术方案!"; //设置宽度,高度自动...
来源: Laya2.0_示例 发布时间: 20251209