大约有 28 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
微信小游戏 code.js 报错 Cannot read property 'apply' of undefined WAGame.js:4 gameThirdScriptError Cannot read property 'apply' of undefined;at socketTask.onopen callback function TypeError: Cannot read property 'apply' of undefined at Function.eof (http://127.0.0.1:25423/game/code.js:...
来源: Laya_社区 发布时间: 20180815
API DocumentationAll Packages | All Classes | Index | Frames No Frames CommandBufferMethods Packagelaya.d3.core.render.commandClasspublic class CommandBufferInheritanceCommandBuffer Object CommandBuffer 类用于创建命令流。 Public Methods MethodDefined By CommandBuffer() 创建...
来源: Laya2.0_api 发布时间: 20190513
BUG:Sprite.event() LayaAS版本,Sprite.event参数说明写了可以传数据、数组或不传参数,实际上,在JS环境下只传一个非数组的数据,会报错,我看了编译后的JS代码,的确有问题,data.unshift没有判断是否是数组 if (this.method==null)return n...
来源: Laya_社区 发布时间: 20170215
[LayaAir3]3.3.1+3.3.2 多个后期处理增删会导致webgl报错 一个对象本身已有一个灰色的后期处理时,对其同时增加删除另一个颜色后期时,就会出现webgl报错 Uncaught TypeError: Cannot read properties of null (reading '_mask') at WebDefineDatas.addDefi...
来源: Laya_社区 发布时间: 20250928
微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 var Browser = Laya.Browser; var ProtoBuf = Browser.window.protobuf; ProtoBuf.load("protobuf/awesome.proto", onAssetsLoaded); 本地预览,h5环境下都运行得好好的,但在微信小...
来源: Laya_社区 发布时间: 20180302
[layaair 1.0] 如何支持Unity的含有第二套UV的shader shader的代码思路如下 col = (tex1,uv1)*(tex2,uv2) 在Unity中显示正常 ,但是在laya中就不能正常显示(只显示 col=tex1,uv1) 补上shader代码 —————————————— Shader ...
来源: Laya_社区 发布时间: 20190422
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
[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
[LayaAirIDE3]skel骨骼动画播放失败,编辑器预览没问题 复现代码: Laya.loader.load("https://hlsgs.sanguosha.com/re ... ot%3B, Laya.Loader.SPINE).then((templet: Laya.SpineTemplet) => { this.skeleton = new Laya.SpineSkeleton(); this.skeleton.templet = templet; consol...
来源: Laya_社区 发布时间: 20250928
Laya2.6 vscode 编译错误 按照官网文档“VSCode中调LayaAir命令行工具”进行配置。我本机环境如下: LayaIDE 2.6.0版本 VSCODE 版本1.45.0 node 版本 v10.15.3 layaair2-cmd 版本 1.6.6 gulp 版本: CLI version: 2.2.0 Local version: 4.0.2 在终端输入编译指令 ...
来源: Laya_社区 发布时间: 20200509