大约有 149 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
Laya_社区(87) Laya3.0_文档(18) Laya2.0_文档(17) Laya_示例(14) Laya2.0_示例(7) Laya3.0_api(4) laya_api(1) Laya2.0_api(1)
...里报错:[Game] Uncaught (in promise) Error: End of data reached (data length = 1, asked index = 4). Corrupted zip ?我以为压缩文件有误,换了个以前项目在使用的压缩文件,结果也是一样的。 这是啥问题啊……………………,崩溃ing 老项目都是可以...
来源: Laya_社区 发布时间: 20230208
...0; for (i = 0; i < data.length; i++) { res = res + String.fromCharCode(data[i]); } data = JSON.pa...
来源: Laya_社区 发布时间: 20200427
...前物品列表里面是否有 有的话 就从里面拿 if(this.itemList.length > 0){ item = this.itemList.shift(); item.visible = true; }else{ //对象池中拿Item var item = Pool.getItemByClass("item",Item); } //是否有特殊物品 如果有 我们就生成特殊物品 if(randNum > 0.95 ...
来源: Laya_社区 发布时间: 20160803
...uv_info.zw - vec2(0.5,0.5))*256.0;\ float radius = length(pos.xy);\ float angle = -degrees(atan(pos.x, pos.y)) + 180.0;\ float fa = radians(angle - progress * 360.0) * radius + 1.0;\ fa = clamp(fa, 0.0, 1...
来源: Laya_社区 发布时间: 20170606
...laya.d3.js -> SimpleSingletonList.Clear -> for (var i = 0, n = this.length; i < n; i++),引擎代码 i没有赋初值,导致 i<n永远为false. 峯 • 2020-01-09 16:49 好吧,我再留意下,我iPhone7p上是没出现过,iPhoneX上出现过
来源: Laya_社区 发布时间: 20200108
...lePath.split("/"); var tempFileName = temp[temp.length - 1]; var fileurlkey = readyUrl; var fileObj = MiniFileMgr.getFileInfo(readyUrl); var saveFilePath = MiniFileMgr.getFileNativePath(temp...
来源: Laya_社区 发布时间: 20200529
...oves)break; for (j = 0, n = touchemoves.length; j < n; j++) { _this.initEvent(touchemoves[j], evt); _this.check(_this._stage, _this.mouseX, _this.mouseY, _this.onMouseMove); ...
来源: Laya_社区 发布时间: 20170510
...er.sharedMaterial = customMaterial; } for (var i = 0, n = spirit3D._childs.length; i < n; i++) setCustomMaterial(spirit3D._childs[i]); } function initShader() { var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0, 'a_Normal': Laya.VertexElementUsage.NORMAL0, 'a_Texcoord0': Laya.Vert...
来源: Laya_示例 发布时间: 20251130
... for (var i:int = 0; i < skinnedmesh.skinnedMeshRenderer.sharedMaterials.length;i++ ){ skinnedmesh.skinnedMeshRenderer.sharedMaterials[i].lock = true; } })); ``` ##### 3D批量加载时,资源上锁 在批量加载资源的时候,无法拿到回调值。这时候就需要开发者通过 `Lay...
来源: Laya2.0_文档 发布时间: 20210715
...Component cannot be invoked without 'new' TypeError: Cannot read property 'length' of null TypeError: Cannot read property 'getSubShaderAt' of undefined Uncaught TypeError: Cannot read property 'indexCount' Uncaught TypeError: Cannot read property 'LayaMotionState' of undefined 问题状态 最新...
来源: Laya_社区 发布时间: 20180307