大约有 813 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)
Laya_社区(659) Laya2.0_文档(61) Laya_示例(34) Laya2.0_示例(30) Laya3.0_文档(25) Laya3.0_api(3) Laya2.0_api(1)
js发布问题 在js代码里用for循环创建了很多Image,label等控件,放在panel里。。。在IDE里运行时没有任何问题。。很流畅。。但是发布后,手机浏览器进入游戏,程序走到这一步就会很卡。。不流畅。。请问有什么其它方法来替换...
来源: Laya_社区 发布时间: 20180102
...en(xml) { var rootNode = xml.firstChild ; var nodes = rootNode.childNodes; for (var i = 0; i item aitem bsomethis..."; var xmlValue:string = "item aitem bsomethings..."; this.proessXML(xmlValueContainsError); console.log("\n"); this.proessXML(xmlValue); } // 使用xml private proessXML(source:string...
来源: Laya_示例 发布时间: 20240930
...E 微信 Monica - 知识达人 赞同来自: 这个事件监听不能写在for循环中! demo.zip 2017-09-27 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 haiboannacom 相关问题 两个对象new了一个相同的对象,调用第...
来源: Laya_社区 发布时间: 20170926
...*****909 赞同来自: 桌子 感谢大家,重新安装vscode,debugger for chrome 安装4.12.4版本后,一切正常。 2020-07-15 1 0 分享 微博 QZONE 微信 cheng 赞同来自: 临时解决方案:vscode里面的debugger for chrome,从4.12.9回到4.12.8 2020-07-15 0 1 分享 微博 QZO...
来源: Laya_社区 发布时间: 20200715
...的UI的对象,组成一个列表: var tableChild = new TableChild();//for循环了10个添加到baijialeHome里 this.baijialeHome.addChild(tableChild); 当有后台发来数据的时候,更新其中一个数据,for循环根据ID找到这个对象,并且调用它的一个方法开始更新...
来源: Laya_社区 发布时间: 20180729
... return false; if (words) { for (var i = 0, n = words.length; i < n; i++) { out.push(words[i]); } } if (this._children) this._children.f...
来源: Laya_社区 发布时间: 20200724
...n、minus、intersect方法,使用了Array的push方法,导致在进行for(var i in array)操作时进入遍历报错。 有两个方案可供修改: 方案一:弃用自己扩展的Array.ts内的新增方法或者将方法内部的push方法改为其他不影响length的方法。 方案二...
来源: Laya_社区 发布时间: 20210918
关于Sprite回收 // 移除item for(var i = 0; i < this.numChildren; i++) { console.log(this.numChildren); var item = this.getChildAt(i); if(item instanceof Item) { item.removeSelf(); ...
来源: Laya_社区 发布时间: 20170113
...n5201314 赞同来自: 2017年12月8日 上午9:53 发件人 Apple2. 5 Performance: Software Requirements 4. Design: Preamble Guideline 2.5.2 - Performance - Software Requirements Your app, extension, or linked framework appears to contain code designed explicitly with the capability to change you...
来源: Laya_社区 发布时间: 20171221
...ren(xml) { let rootNode = xml.firstChild; let nodes = rootNode.childNodes; for (let i = 0; i item aitem bsomethis..."; var xmlValue:string = "item aitem bsomethings..."; this.proessXML(xmlValueContainsError); console.log("\n"); this.proessXML(xmlValue); } // 使用xml private proessXML(source:string...
来源: Laya2.0_示例 发布时间: 20240930