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

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

1. Getcomponent 报错Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not an object [ 100%]

Getcomponent 报错Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not an object 有复现工程  附件 : --> Laya2DTest.zip 2023-07-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox...

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

2. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 71%]

...           let tex;                 if (data instanceof ArrayBuffer) {                     var ext = Utils.getFileExtension(this._url);                     let format;                     switch (ext) {...

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

3. 关于对象类型判断 [ 70%]

...33 js中有is这个东西吗? 陆仁毅 • 2019-09-17 10:22 as3会编成instanceof

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

4. [LayaAirIDE3]getTextWidth报null is not an object (evaluating \'i.width\') [ 67%]

...ll Getcomponent 报错Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not an object alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"] 多个对象添加点击事件, 舞台上面移除掉所有对象,并且置为null 'releaseTex...

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

5. [LayaAir3]我直接将整个项目导出,使用Android Studio打开编译,然后构建运行,连接手机结果打开项目就闪退? [ 65%]

...esponse}`, response.status, errorResponse ); } } catch (error) { if (error instanceof HttpException) { throw error; } else if (error instanceof Error) { throw new Error(`Network error: ${error.message}`); } else { throw new Error("Unknown network error occurred"); } } }); } 大概报错。联系方...

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

6. 自定义shader 在未指定webgl 模式下 setIBVB参数应该如何设置 [ 61%]

...void{ this.shaderValue.iTime += this.animeValue; let webgl2d = context.ctx instanceof Laya.WebGLContext2D if( webgl2d) (context.ctx as Laya.WebGLContext2D).setIBVB( x, y, this.iBuffer, this.vBuffer, this.iNum,null, WaterFlowShader.shader, this.shaderValue, 0, 0); } 2018-07-12 添加评论 免费帖 ...

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

7. ts继承后,代码压缩的问题 [ 59%]

...function() { var extendStatics = Object.setPrototypeOf || { __proto__: [] }instanceof Array && function(d, b) { d.__proto__ = b } || function(d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p] } ; return function(d, b) { extendStatics(d, b); function __() { this.constructor = d } ...

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

8. LayaAir编译器错之for_in [ 57%]

...      var t=null;                 if(((Loader.loadedMap[i])instanceof laya.resource.Texture )){                     t=Loader.loadedMap[i];                     t.destroy();                 }                 delete Loader.loadedMap[...

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

9. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 31%]

...完成之后的回调函数 if (item.onComplete && item.onComplete instanceof Laya.Handler) { item.onComplete.runWith(content); } if (!content) success = false; if (loadedCount === itemCount && complete) { complete.runWith(success); } } function loadProgress(item, value) { if (progre...

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