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

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

571. 为啥我在批量removeself 会报错卡死 [ 62%]

为啥我在批量removeself 会报错卡死 override public function removeSelf():Node { this.scaleX = 1; this.scaleY = 1; this.alpha = 1; this.pos(0,0); this.filters = []; if(selectImg != null) { selectImg.removeSelf(); } this.mouseEnabled = true; if(this.visible == false) { this.visible = true; ...

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

572. 在执行动画的时候报错laya.core.js:29156 Uncaught TypeError: Cannot read property 'borderColor' of null [ 62%]

... btCollisionObject undefined 导微信小程序报错window.focus is not a function runtime运行报错! 用了ByteArray的zlib.min.js后报错 laya2 发布微信开放域工程,用微信开发者工具打开报错 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promis...

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

573. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 62%]

...true,              /* Enable strict null checks. */     // "strictFunctionTypes": true,           /* Enable strict checking of function types. */     // "strictPropertyInitialization": true,  /* Enable strict checking of property initialization in classes. */     // "noImplicitTh...

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

574. drawToCanvas真机资源无法释放 [ 62%]

...ayObject.height, 0,0); htmc.destroy(); --------》     __proto.destroy=function(){         this._ctx && this._ctx.destroy();         this._ctx=null;     } 在这里,this.ctx并没有destroy方法,native上直接崩溃 2018-12-19 0 1 分享 微博 QZONE 微信 为...

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

575. 微信关系链开发中,开放域发布的代码会报错 [ 62%]

...码会出现报错,Uncaught TypeError: wx.getFileSystemManager is not a function 附件 : --> 2018-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 156*****180 赞同来自: 主域 Laya.init(true); 子域 La...

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

576. 多个模块之间相互嵌套import,导致运行报错 [ 62%]

...oid { let self = this; let cat = new Cat(); cat.Create(); cat.on('attack', function () { self.Change(); }); this.animals.push(cat); }   2019-02-26 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 karin666 相关...

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

577. [Error] TypeError: null is not an object (evaluating 'this._style._tf') [ 62%]

...TypeError: null is not an object (evaluating 'this._style._tf') (anonymous function) (laya.core.js:16463) toParentPoint (laya.core.js:15797) localToGlobal (laya.core.js:15757) getGlobalRecByPoints (laya.core.js:10216) getGlobalPosAndScale (laya.core.js:10224) getTransformRelativeToWindow (laya.core....

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

578. wx.canvasToTempFilePath在TS下如何使用啊? [ 62%]

...ight: 100, destWidth: 100, destHeight: 100, canvasId: 'myCanvas', success: function (res) { wxd.shareUrl = res.tempFilePath wxd.ShareAppMessage() console.log(res.tempFilePath) } }) 一直报错[ts] The 'this' context of type 'typeof wx' is not assignable to method's 'this' of type 'string'. canvasId...

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

579. HTMLCanvas Laya.stage.addChild(HTMLCanvas); 挂载到舞台报错 [ 62%]

...         *          * htmlCanvas.toBase64("image/png",0.92,function(base64){//webgl和canvas模式下为同步方法,加速器下是异步方法          *                      trace(base64);//打印图片base64信息,可以发给服务器或者保存...

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

580. 发布的时候,报错 [ERROR] Cannot read property 'dom_parser' of undefined [ 61%]

...卓设备加载场景黑屏 导微信小程序报错window.focus is not a function 发布到vivo平台后,龙骨动画无法显示 本地调试加载本地图片都报错 官网示例摇一摇报错,就解决方案 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promis...

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