• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 239 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0055 秒)

161. destroy 报错 [ 66%]

...: 1048 关注: 1 人 标 • 2018-05-14 15:36 n 的值大于 this._childs.length 的值,然后报错。 标 • 2018-05-14 15:47 偶然会报错。偶尔不会

来源: Laya_社区 发布时间: 20180514

162. 为什么自定义shader大图正常,小图就被缩小了 [ 66%]

...rray.push(3,1,2);//第二个三角形的顶点索引 } this.iNum = ibArray.length; this.vbData = new Float32Array(vbArray); this.ibData = new Uint16Array(ibArray); this.vBuffer.append(this.vbData); this.iBuffer.append(this.ibData); this.shaderValue = new myShaderValue(); this.shaderValue.textureHost...

来源: Laya_社区 发布时间: 20180619

163. Laya中Button等组件lose skin的问题 [ 66%]

...     if (!info){                 info=this._infoPool.length ? this._infoPool.pop():new ResInfo();                 info.url=url;                 info.type=type;                 info.cache=cache;                 info....

来源: Laya_社区 发布时间: 20191122

164. 2.3.0beta vivo 多点触控报错. [ 66%]

...return;      this._add(element);      element._setIndexInList(this.length++);      } 2019-10-21 0 2 分享 微博 QZONE 微信 155*****359 赞同来自: 请问vivo的调试怎么捕获这个异常信息呀? 2019-11-23 0 0 分享 微博 QZONE 微信 155*****359 赞同来自: 请问楼...

来源: Laya_社区 发布时间: 20191021

165. 定时器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 66%]

... { if (!caller) return; for (var i: number = 0, n: number = this._handlers.length; i < n; i++) { var handler: TimerHandler = this._handlers[i]; if (handler.caller === caller) { handler.clear(); } } } 建议在一个模块功能销毁之前,清理定时器或者清除所有的定时器。 6. 立...

来源: Laya3.0_文档 发布时间: 20251010

166. 请问LayaAirUnityPlugin 1.1.0.unitypackage导出的.lsani文件怎么使用? [ 66%]

...ng) {             console.log('switchAnimation: ' + this.meshes.length);             let anitemplet = this.anies[name];             for (let mesh of this.meshes) {                 let ani = mesh.getComponentByType(SkinAnimations, 0) as SkinAnimations; ...

来源: Laya_社区 发布时间: 20170608

167. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 66%]

...*********getPixels内存泄漏*************/ for(var i:int = 0; i < arr.length; i++) { if(arr > 0) { pixelCount++; } } return pixelCount; } private function toLocal(point:Object,mc:Sprite):Point { /* * 参数point可以是Point类型和DisplayObject类型 * mc是目标对象 */ var p:Object; i...

来源: Laya_社区 发布时间: 20180302

168. Laya3D 中如何解决3D模型上添加文本的问题,类似Unity中的3DText [ 65%]

...(imageData.data, 512, 128); console.log("data:" + imageData.data.length); sprite3DMat.diffuseTexture = dataTexture; sprite3D.meshRender.material = sprite3DMat; } //绘制文字到canvas,判断换行位置,和设置canvas高度 public canvasWrapText(options) { var settings = { canvas:nu...

来源: Laya_社区 发布时间: 20180814

169. List表单renderHandler问题 [ 65%]

...y = null, once:Boolean = true):Handler {             if (_pool.length) return _pool.pop().setTo(caller, method, args, once);             return new Handler(caller, method, args, once);         }   2018-07-04 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回...

来源: Laya_社区 发布时间: 20180704

170. lose skin null [ 65%]

...ot read property 'width' of null的错误 TypeError: Cannot read property 'length' of null [Error] TypeError: null is not an object (evaluating 'this._style._tf') 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null Error: Layer value can be null. 射线检测报...

来源: Laya_社区 发布时间: 20180126