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

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

51. 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined [ 70%]

3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined环境 LayaAir IDE 2.0.0 beta2 3d示例项目 layanative2  -v v2.0.2   index.js 引用 web和小...

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

52. spine适配版微信开发者平台报错 [ 70%]

spine适配版微信开发者平台报错 是漏了什么操作,在浏览器上运行时没有问题的VM514 WAGame.js:2 TypeError: Cannot read property 'findRegion' of undefined     at t.AtlasAttachmentLoader.newRegionAttachment (spine-core-3.8.min.js:1)     at e.readAttachment (spine-core-3...

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

53. this.btClose1.on(Laya.Event.CLICK,null,this.close);报错 [ 69%]

this.btClose1.on(Laya.Event.CLICK,null,this.close);报错 this.btClose1.on(Laya.Event.CLICK,null,this.close); 这句代码报错  附件 : --> 2017-06-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueyin...

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

54. 报错:Failed to execute 'shaderSource' on 'WebGLRenderingContext' [ 68%]

报错:Failed to execute 'shaderSource' on 'WebGLRenderingContext' 运行期间,概率出现报错:Uncaught TypeError: Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLShader'.   观察代码,疑似是因为Shader._createShader方法中,调用...

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

55. linux系统运行layaair-cmd报错 [ 68%]

linux系统运行layaair-cmd报错 安装layaair-cmd没问题了,运行命令时报错: Platform does not support. /data/node_v8/lib/node_modules/layaair-cmd/layaair-cmd-resourceVersion.js:57 exit(1); ^ ReferenceError: exit is not defined at Object.<anonymous> (/data/node_v8/lib/node_modu...

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

56. Laya2.0 beta3 Animator 中的 on 事件 怎么没了 [ 68%]

Laya2.0 beta3 Animator 中的 on 事件 怎么没了 示例 里面 居然有  var ani:Laya.Animator = hero.getChildAt(0).getComponent(Laya.Animator);//监听默认动画完成后播放站立动画ani.on(Laya.Event.COMPLETE,this,this.onAniComplete,[ani]);   可是 实际上并没有啊。 没有 o...

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

57. ProgressBar 代码问题 [ 67%]

ProgressBar 代码问题 依照官网教程https://layaair.ldc.layabox.com/demo/?2d&UI&ProgressBar  使用会出现<<<TypeError: Cannot read property 'value' of undefined>>> 我的代码为按钮点击后 出现popup并且模拟进度条加载 按钮代码: this.testLoadi...

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

58. 陀螺仪和加速计使用问题 [ 67%]

陀螺仪和加速计使用问题 Laya.Gyroscope.instance.on(Laya.Event.CHANGE,this,this.onDeviceorientation);  Laya.Accelerator.instance.on(Laya.Event.CHANGE,this,this.onMotoin); 官网陀螺仪和加速计例子中的上面两句运行时都报 Cannot read property 'instance' of undefined 的错...

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

59. 加载prefab的代码编译失败,提示“Property 'transform' does not exist on type 'Node'” [ 67%]

加载prefab的代码编译失败,提示“Property 'transform' does not exist on type 'Node'” 我从unity工程导出prefab到layaair中使用,根据文档中的介绍,使用如下代码加载prefab资源,             Laya.Sprite3D.load("res/prefabs/Conventional/SampleScene.lh", Laya...

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

60. 使用Laya2.0做微信开放数据域是出错。 [ 67%]

使用Laya2.0做微信开放数据域是出错。 Laya2.0发布为微信开放数据域项目是报错: WAGameSubContext.js:1 Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:673) at Function.MiniAdpter.init (laya.wxmi...

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