大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0120 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...xtends View,依然还是调用不到基类的函数;会报错:“xxx this variable is not defined”;并且在源码中看到“/*no*/this.xxx()” 最头痛的是自己把extends View改为extends自己写的基类后没问题可以正常调用基类函数,但是一刷新它又自动...
来源: Laya_社区 发布时间: 20170812
...修改,代码如下: set localRotationEulerX(value) { var localEuler = this.localRotationEuler; localEuler.x = value; this.localRotationEuler = localEuler; } 2021-09-09 0 1 分享 微博 QZONE 微信 柠檬_酸 赞同来自: 后续补充: 2021-08-08 0 0 分享 微博 QZONE 微信 Laya_小小...
来源: Laya_社区 发布时间: 20210808
...er.load( loadList, Laya.Handler.create(this, () => { var label=this.owner.getChildByName("time") as Laya.Label; label.text=((Date.now() - nt) / 1000 + "秒"); }) ); 测试环境H5...
来源: Laya_社区 发布时间: 20240628
...换成了索引0, oy2419498011 • 2018-02-27 16:17 Laya.timer.loop(1000,this,delete_); function delete_(){ // Laya.timer.clear(this,delete_); delete_desktop(1); } function delete_desktop(cut_out){ if(cut_out==1){ delete_majian() }; }; function delete_majian(){ game.bottom.removeChild(game.bottom....
来源: Laya_社区 发布时间: 20180227
...17-09-12 14:55 有米有实例,给个~~for (var i = 0; i < 10; i++) { this.input.....这里怎么写呢 } wosuxm • 2017-09-12 15:48 ... 命名的时候input1,input2 这样。 let a = [] ; for... { a[i] = this.ui[input+i]; } 大概这个意思 cuixueying • 2017-09-12 17:55 把input存放到...
来源: Laya_社区 发布时间: 20170912
...ateMap("res/isometric_grass_and_water.json", viewRect, Laya.Handler.create(this, this._OnMapCreate), null, new Laya.Point(2 * 64, 2 * 32)); 附件 : --> 2019-01-02 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为...
来源: Laya_社区 发布时间: 20190102
...a1.addComponent(CameraMoveScript); } private function loadUI():void { var _this:D3Base_TargetTexture = this; Laya.loader.load(["../../../../res/threeDimen/ui/button.png"], Handler.create(null, function():void { var btn:Button = new Button(); btn.skin = "../../../../res/threeDimen/ui/b...
来源: Laya_社区 发布时间: 20170209
...行位置或截断位置 var needWordWrapOrTruncate:Boolean = wordWrap || this.overflow == HIDDEN; if (needWordWrapOrTruncate) { var wordWrapWidth:Number = getWordWrapWidth(); } if (_currBitmapFont) { _charSize.width = _currBitmapFont.getMaxWidth(); _charSize.height = _currBitmapFont.getMaxHeight();...
来源: Laya_社区 发布时间: 20190213
...or, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => { console.error(err); cb(err); }); let body = data; let tp = typeof data if(tp === 'object' || tp === 'array'){ if(method === 'post' || method ===...
来源: Laya_社区 发布时间: 20170123
...Font(); blueFnt.loadFont("common/number_blue.fnt", new Handler(this, () => { Laya.Text.registerBitmapFont("number_blue", blueFnt); })); 但具体原因不清楚 能否请官方测试下bmfont在iphone上运行情况 2017-05-23 0 0 分享 微博 QZON...
来源: Laya_社区 发布时间: 20170523