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

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

21. 2.0按钮添加事件报错 cannot read property 'on' fof undefined [ 87%]

2.0按钮添加事件报错 cannot read property 'on' fof undefined class GameLogin extends ui.login.login_bgUI { constructor() { super(); this.btn_register.on("click", this, this.ToRegisterPage); } ToRegisterPage() : void { this.loadScene("login/register_page"); } }   //调用on的时候 直接...

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

22. TypeError: relativePath is undefined [ 86%]

...3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'props' of undefined 鼠...

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

23. TypeError: Cannot read property 'getSubShaderAt' of undefined [ 86%]

TypeError: Cannot read property 'getSubShaderAt' of undefined laya2.0以上自定义的shader会出这个问题。laya2.4   2.5  2.6beta版本都试过了。 项目是1.8版本提升到2.5.0版本的,逻辑上都没问题。但是shader会报这个错。替换官方内置的shader正常,我...

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

24. [LayaAir3]Laya.LayaGL 是null [ 86%]

...g this. vaoext createvertexarrayoes"] Cannot read property 'displayObject' of null laya2.6.0打apk和小游戏都会报_InPool为null Uncaught TypeError: Cannot read property 'load' of null 打包apk之后,突然报一个错误, Cannot read property 'createTexture' of null。明明没有加载...

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

25. 播放音效时报错Failed to set the 'buffer' property on 'AudioBufferSourceNode'的问题 [ 85%]

...he 'buffer' property on 'AudioBufferSourceNode': The provided value is not of type 'AudioBuffer'.",我把这段代码注释掉之后就没有了,希望有大佬能够解答一下,哈哈 2018-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

26. 苹果上架有问题啊 , !!!!!! [ 85%]

...同来自: 2017年12月8日 上午9:53 发件人 Apple2. 5 Performance: Software Requirements 4. Design: Preamble Guideline 2.5.2 - Performance - Software Requirements Your app, extension, or linked framework appears to contain code designed explicitly with the capability to change your app’s be...

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

27. Cannot read property 'props' of undefined [ 85%]

Cannot read property 'props' of undefined 搜了一圈又一圈,大致的意思是插件版本和unity版本不对号,教程提供下载最新的插件地址,下载信息: LayaAir3DConvertTools.zip,修改日期为:2018-01-26 14:41,版本:1.7.16………………2年多没更新了~~...

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

28. parameter 2 is not of type 'WebGLTexture' [ 85%]

parameter 2 is not of type 'WebGLTexture'   var htmlC:HTMLCanvas = btn_edit.drawToCanvas(btn_edit.width, btn_edit.height, 0, 0); var interceptT:Texture = new Texture(htmlC); var img:Sprite = new Sprite; img.graphics.drawImage(interceptT, 0, 0, btn_edit.width, btn_edit.height); Laya.stage.addChild(...

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

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

...r": "src",                       /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */     // "removeComments": true,                /* Do not emit comments to output. */     // "noEmit": true,                  ...

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

30. TypeError: Cannot read property '_addRenderObject' of undefined [ 83%]

TypeError: Cannot read property '_addRenderObject' of undefined 初次接触Laya只是想测试一下Laya开发微信3D小游戏 。 结果还没开始就卡在了导入Unity编辑的场景中 ,请问这个是什么问题? TypeError: Cannot read property '_addRenderObject' of undefined preload....

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