大约有 297 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0050 秒)
...r> <span style="color:#FF0000;">Error: 禁止使用关键字:sc.push_new_msg.local</span> <br> <span style="color:#FF0000;">Error: exit error</span> <br> </p> 搜到https://ask.layabox.com/question/14813 ,但是没有解决 请问一下 还有人遇...
来源: Laya_社区 发布时间: 20180709
...lDic[key]=new QueueT<Laya.MeshSprite3D>(); this.m_ObjectPoolDic[key].push(MeshSprite); } } //按照编号取出对应对象池中的一个物体 public DequeueItem(key:number):Laya.MeshSprite3D { if(this.m_ObjectPoolDic[key]) { //对象池中存在该 key 对应的池 let QueuePool=this...
来源: Laya_社区 发布时间: 20191206
...传一个数组进去,直接传一个参数会报错,要把这个参数push到一个数组里才能正常传递。 但是当我push了两个值进去后,传递过去的数组,打印出来只有一个值,那我要传递多个参数进去要怎么搞? 2017-03-08 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20170308
...制的代码为: for(x = 0 ; x < gridWidthPx ; x += gridPx) { paths.push(["moveTo" , x , 0]); paths.push(["lineTo" , x , gridHeightPx]); } paths.push(["closePath"]); gridShape.graphics.drawPath(0 , 0 , paths , {fillStyle:"#0000ff"});能麻烦帮忙看下什么问题么 附件 : --> 2017-09-01 ...
来源: Laya_社区 发布时间: 20170901
...amp;& code <= 0xDBFF) { this._words.push(character + str.charAt(++idx)); } else { this._words.push(character); } } } __proto.getChar=function(i){ ...
来源: Laya_社区 发布时间: 20180517
...对应图片的路径 var data = []; for (var i = 0; i < 10; ++i) { data.push("res/ui/listskins/1.jpg"); data.push("res/ui/listskins/2.jpg"); data.push("res/ui/listskins/3.jpg"); data.push("res/ui/listskins/4.jpg"); data.push("res/ui/listskins/5.jpg"); } list.array = data; } function updateItem(cell...
来源: Laya2.0_文档 发布时间: 20210714
...应图片的路径 var data = []; for (var i = 0; i < 10; ++i) { data.push("res/1.jpg"); data.push("res/1.jpg"); data.push("res/1.jpg"); data.push("res/1.jpg"); } rankList.array = data; function updateItem(cell, index) { cell.setImg(cell.dataSource); } 发布小游戏将code.js 发到开放域...
来源: Laya_社区 发布时间: 20180416
...路径 var data: Array = []; for (var i: number = 0; i < 10; ++i) { data.push("res/ui/listskins/1.jpg"); data.push("res/ui/listskins/2.jpg"); data.push("res/ui/listskins/3.jpg"); data.push("res/ui/listskins/4.jpg"); data.push("res/ui/listskins/5.jpg"); } list.array = data; } private updateItem(cell:...
来源: Laya2.0_文档 发布时间: 20210715
...basePath = "https://lg-f6ejft4c-1256468286 ... 3B%3B var asset = []; asset.push({ url : "res/atlas/game.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "res/atlas/bubbles.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "game/bgGame.png", type:Laya.Loader.IMAGE }); Laya.loader.load(asse...
来源: Laya_社区 发布时间: 20180517
...d = function(e){ instance.buffer.push(reader.result); 只要执行到readAsArrayBuffer就崩溃了,但是在浏览器里是正常的 附件 : --> 2018-04-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20180410