大约有 53 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0026 秒)
[LayaAir3]3.3正式版在代码中对继承自UIComponent的UI组件设置disabled属性为报错 3.3正式版在代码中对继承自UIComponent的UI组件设置disabled属性为true后,再触发条件设置为false就会报错。 报错信息为: WebGLRenderContext2D.js:137 Uncaught TypeError...
来源: Laya_社区 发布时间: 20250804
BUG:Sprite.event() LayaAS版本,Sprite.event参数说明写了可以传数据、数组或不传参数,实际上,在JS环境下只传一个非数组的数据,会报错,我看了编译后的JS代码,的确有问题,data.unshift没有判断是否是数组 if (this.method==null)return n...
来源: Laya_社区 发布时间: 20170215
protobuf.js 转小游戏 动态生成方法报错 项目转小游戏,protobuf.js,Function.apply报错,可能是微信小游戏禁用了Function,这个怎么解决? Function.apply(null, keys.concat("return " + source)).apply(null, keys.map(function (key) { return scope[key]; })); 2018-01...
来源: Laya_社区 发布时间: 20180111
微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 var Browser = Laya.Browser; var ProtoBuf = Browser.window.protobuf; ProtoBuf.load("protobuf/awesome.proto", onAssetsLoaded); 本地预览,h5环境下都运行得好好的,但在微信小...
来源: Laya_社区 发布时间: 20180302
API DocumentationAll Packages | All Classes | Index | Frames No Frames IFilterActionMethods Packagelaya.filtersInterfacepublic interface IFilterAction IFilterAction 是滤镜动画接口。 Public Methods MethodDefined By apply(srcCanvas:*):*IFilterActionMethod Detailapply()method publi...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames ColorFilterActionProperties | Methods Packagelaya.filtersClasspublic class ColorFilterActionInheritanceColorFilterAction ObjectImplements IFilterAction ColorFilterAction 是一个颜色滤镜应用类。 Public Propertie...
来源: laya_api 发布时间: 20170422
[LayaAir3]3.3.1+3.3.2 多个后期处理增删会导致webgl报错 一个对象本身已有一个灰色的后期处理时,对其同时增加删除另一个颜色后期时,就会出现webgl报错 Uncaught TypeError: Cannot read properties of null (reading '_mask') at WebDefineDatas.addDefi...
来源: Laya_社区 发布时间: 20250928
[LayaAir3]播放spine时候报错 Uncaught TypeError: Cannot read properties of undefined (reading 'renderType') at WebRender2DPass.batch (WebRender2DPass.js:236:47) at WebRender2DPass.fowardRender (WebRender2DPass.js:151:64) at WebRender2DPassManager.apply (WebRender2DPass.js:382...
来源: Laya_社区 发布时间: 20250915
layaair2-cmd compile 编译不了 PS C:\Users\huangxuejie\Documents\testMap4\testMap2WX> layaair2-cmd compile [18:00:34] Working directory changed to ~\Documents\testMap4\testMap2WX\.laya [18:00:34] Using gulpfile ~\Documents\testMap4\testMap2WX\.laya\compile.js C:\Users\huangxuejie\AppData\...
来源: Laya_社区 发布时间: 20200513
...(); str+=arr[index];//在IDE里面这句报错 [ts] Operator '+' cannot be applied to types 'String' and 'String'. } return str; } 2017-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_XS 赞同来自:...
来源: Laya_社区 发布时间: 20171118