大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
... { super.dataSource = value; if(dataSource==null) return; names=dataSource.name; txts.text = names; ////////以下为:根据参数来定义样式 var itemBasic:Object=I...
来源: Laya_社区 发布时间: 20170703
...ERR! getaddrinfo ENOTFOUND layacmd layacmd:80 : ,layacmd npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues> npm ERR! Please include the following file with any support request: npm ERR! c:\Users\qykings\Documents\h5work\layaGame\trunk...
来源: Laya_社区 发布时间: 20170608
... 赞同来自: 贺迪青 、失灵沙尔克 laya.ani.js里 FrameAnimation if (FrameAnimation._sortIndexFun === null) { FrameAnimation._sortIndexFun = MathUtil.sortByKey("index", false, true); }这个null 改为undefined 2019-11-19 2 2 分享 微博 QZO...
来源: Laya_社区 发布时间: 20191117
...细页面初始化的时候都执行这个的. item=new Laya.Animation(); if (i!=whichistrue) { aniname="lose_1_"+aniname+".ani"; } else { ran=Math.random(); aniname="win_1_"+aniname+".ani"; } item.loadAnimation(aniname); item.x=60+(i-1)*120; item.y=y; item.size(80,80); item.name=aniname; this.dowor...
来源: Laya_社区 发布时间: 20171106
...k():void{ alert("123456"); } public static onClick1():void{ } } if (window) { (<any>window).Test = Test; } Test导到全局 2019-03-14 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 18638179199 ...
来源: Laya_社区 发布时间: 20190313
...texSubImage2D整张image, //实测76*59的image此函数耗时1.2毫秒 if (Render.isConchWebGL) { (xoffset - 1 >= 0) && (gl.texSubImage2DEx(true, WebGLContext.TEXTURE_2D, 0, xoffset - 1, yoffset, WebGLContext.RGBA, WebGLContext.UNSIGNED_BYTE, bitmap)); (xoffset + 1 <= _w) &&...
来源: Laya_社区 发布时间: 20180417
...rs变量是个长度为1的数组,里面是个undefined然后导致下面if代码报错。 红圈2:我自己添加的一个判断。用于解决报错问题。 红圈3:同上 解决了报错问题后UI会出现大多数按钮控件鼠标放上去后就消失了。移开就显示了。现在求...
来源: Laya_社区 发布时间: 20210806
...); mc.on(Event.LOADED,this,load); } public function load(e:* = null):void{ if(assets.length > 0){ mc.load(assets.shift()); }else{ onAssetsLoaded(); } } private function onAssetsLoaded(e:*=null):void { this.event(BEFORLOADERFINISH); } } } 2016-12-13 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20161213
....existsSync(path.join(workSpaceDir, "bin", "weapp-adapter.js")); if (isHadWXFiles) { return; } 只有这四个文件都存在的时候才不会从layarepublic下的目录中拷贝默认文件到release中去,缺少任何一个都会导致修改的文件被引擎...
来源: Laya_社区 发布时间: 20191118
...检测第13层 Laya.Physics.rayCast(this.ray, this._outHitInfo, 30, 13); if (this._outHitInfo.distance !== -1){ alert("666"); } this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, state); //绘出射线 this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0, 0.0,...
来源: Laya_社区 发布时间: 20170323