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

大约有 307 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0049 秒)

141. json解析,中文报错 [ 68%]

...Unexpected token in JSON at position 23;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 23 2018-07-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来...

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

142. Uncaught TypeError: Cannot read property 'regClass' of undefined [ 68%]

...perty 'displayObject' of null 浏览器运行提示TypeError: xxx is not a function Uncaught unknown animationClip version. Uncaught TypeError: Cannot read property 'props' of undefined 问题状态 最新活动: 2021-09-01 19:47 浏览: 2016 关注: 2 人 187*****204 • 2021-09-02 09:22 好吧,...

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

143. 【紧急】laya2.0的loadImage方法为什么不触发complete? [ 68%]

...ogo); logo.loadImage("img/load_logo.png", 0, 0, 0, 0, Handler.create(this, function(){ trace("complete!!"); })); 我在laya1.0这么写,触发complete没毛病,为什么到了2.0这个complete不触发?谁给解释一下啊 2018-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

144. laya as发布玩一玩到Xcode工程,编译报错 [ 68%]

...1, code=-1, info1=Execute JS Error![TypeError: this.ctx.transform is not a function. (In 'this.ctx.transform(a,b,c,d,tx,ty)', 'this.ctx.transform' is an instance of RectTransform)]: line = 6253, column = 21, sourceURL = /var/containers/Bundle/Application/2DE21169-C5AF-439A-9F39-D30D42DC9162/PublicBr...

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

145. Scene.load加载的时候无法正确的识别ResourceVersion [ 68%]

...大概是这样的,ResourceVersion是这样处理URL的: public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return originURL; }...

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

146. "Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 67%]

...ingContext' "Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided."  加载3d 模型总是报这个错误,png的图片无法用,只能改成jpg的,想问一下是什么原因导致的? 附件 : --> 2018-02-05 添加评论 ...

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

147. 关于分包的问题,是否是编译器bug? [ 67%]

...函数,运行时当然就是报错,找不到定义,内容如下: (function(window,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; })(window,document,Laya); 如果代码中这样写: var module:Module =new ...

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

148. 使用getChildByName()无法得到子节点对象 [ 67%]

... page2._list.renderHandler = new Handler(this, onRender);         function onRender(cell,index){             //如果索引不再可索引范围,则终止该函数             if(index > json.length)return;             //获取当前渲染条目的...

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

149. 头条/微信/OPPO/vivo/趣头条/百度 等渠道发布 [ 67%]

...; 下一行报错: Uncaught TypeError: this.bitmap.activeResource is not a function 2020-05-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 星夜 相关问题 关于微信小游戏关系链的问题 【屏幕适配】在LayaAir上面...

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

150. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 67%]

..._scene.lightCullingMask && this._scene.lightCullingMask instanceof Function){this._scene.lightCullingMask(scene,this);} 3、对想要开启灯光裁剪的场景调用 LightCullingMask.enableLightCullingMask(scene3d)即可 //注意 ExtCullingMask并不是针对对象进行,而是对摄相...

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