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

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

581. 关于TS get/set重写问题 [ 54%]

...t a($value:number):void {     this.aa();    super.a = $value;  } private aa():void{}   但是super是不能用到set/get中的,所以报错了,如果用this替代super,那就死循环肯定不行 然后我看到Laya有提供个方法 Laya.superSet和Laya.superGet    然后就 public set a(...

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

582. 引擎是否可以针对支持webgl2的机型做自动切换为webgl [ 54%]

...ebgl2的机型做自动切换为webgl 部分机型下会出现 this._gl.createVertexArray is not a function. (In 'this._gl.createVertexArray()', 'this._gl.createVertexArray' is undefined);at requestAnimationFrame callback function   这种情况这边判断是不支持webgl2,是否又方法直接...

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

583. 场景调用offAll会报错。 [ 54%]

... 报错: Uncaught TypeError: Cannot read property 'parent' of null     at Function.Scene._sortScenes (file:///E:/laya3dProject/BY3D/bin/h5/BY3D.max.js:68570:8) 附件 : --> 2018-09-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

584. laya3d发布小游戏报错 [ 54%]

...打包小游戏真机调试会报错gameThirdScriptError expected Number;at requestAnimationFrame callback function Error: expected Number 去掉设置背景色的代码就好了camera.clearColor = new Laya.Vector3(0.5, 0.5, 0.6); laya版本1.7.19 设备 小米note3 微信版本 6.7.2 安卓版本7....

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

585. iOS 真机调试错误 [ 54%]

...n info:[syntaxerror:unexpected use of reserved word 'let' in strictly mode]at line 142,这个js的报错,请教一下这个是什么原因谢谢,直接使用layaIDE构建的工程真机测试报错。求大神指教 附件 : --> 2019-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

586. ios打包提示找不到Conch Shade !!!!!!!!!!!!!!!急急急 [ 54%]

...SERROR: exception info: [ReferenceError: Can't find variable: ConchShader] at line 21042 2018-05-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 一点一滴 赞同来自: 提供下报错环境,可以方便分...

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

587. as3用flashdevelop编译加载不了图片 [ 53%]

as3用flashdevelop编译加载不了图片 index.html:1 Access to Image at 'file:///D:/My_HTML5_Project/AS3/project/LoadImage/bin/h5/comp/a1.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 好像是说不允许加载,请问...

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

588. 微信开发者工具里播放音乐报错 [ 53%]

.../bg.mp3"); (playSound 也会) 报错Invalid value used as weak map key;at audioContext.oncanplay callback function TypeError: Invalid value used as weak map key 2018-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 ...

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

589. [LayaAir3]转换BragonBones生成的骨骼动画报错 [ 53%]

...息: TypeError: Cannot read properties of undefined (reading 'skeleton')at /C:/Program%20Files/LayaAirlDE/resources/app.asar/sceneEditor.js:2 附件 : --> 2024-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回...

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

590. 3d物理引擎报错 [ 53%]

...compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 "). Bu...

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