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

大约有 5,082 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0105 秒)

1. [LayaAirIDE3]时间轴动画调了材质引用类型的属性,调用play()接口切状态的时候调用_revertDefaultKeyframeNodes报材质属性空 [ 100%]

[LayaAirIDE3]时间轴动画调了材质引用类型的属性,调用play()接口切状态的时候调用_revertDefaultKeyframeNodes报材质属性空 修改代码如下能请帮忙确认一下吗 private _addKeyframeNodeOwner(clipOwners: KeyframeNodeOwner[], node: KeyframeNode, propertyOwner: any...

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

2. 组件装饰器说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 99%]

... const { regClass, property, classInfo } = Laya; @regClass() @classInfo({ properties: [ { name: "Group1", inspector: "Group", options: { members: ["b", "c"] }, position: "after a" } ] }) export class NewScript extends Laya.Script { @property(String) public a: string = ""; @property(String) public b:...

来源: Laya3.0_文档 发布时间: 20251010

3. can not read property "elements" of underfined [ 99%]

can not read property "elements" of underfined 参照官方的cameraMoveScript脚本写控制摄像机移动的功能, var yPRElem:Float32Array=this.yawPitchRoll.elements;   附件 : --> 2019-02-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

4. Cannot read property 'offCanplay' of null [ 99%]

Cannot read property 'offCanplay' of null 游戏公测的时候,后台很多这样的报错。   Cannot read property 'offCanplay' of null TypeError: Cannot read property 'offCanplay' of null at n.onCanPlay (https://usr/game.js:39:9226) at Function.t (https://lib/WAGameSubContext.js:2:153278)Can...

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

5. "Cannot read property '0' of undefined" protobuf.js [ 99%]

"Cannot read property '0' of undefined" protobuf.js 使用protobuf 会提示一次这个异常,第二次运行就没问题了   附件 : --> 2018-03-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron...

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

6. Cannot read property 'displayObject' of null [ 99%]

Cannot read property 'displayObject' of null Cannot read property 'displayObject' of null 报这个错误要怎么解决 2018-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: steven c...

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

7. "Cannot set property 'alertGlobalError' of undefined" [ 99%]

"Cannot set property 'alertGlobalError' of undefined"   附件 : --> 2018-06-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 信息太少,无法作答。请多提供一些信息 2018...

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

8. laya.physics.js:430 Cannot read property 'GetType' of null [ 99%]

laya.physics.js:430 Cannot read property 'GetType' of null Uncaught TypeError: Cannot read property 'GetType' of null     at box2d.b2Fixture.GetType (laya.physics.js:430)     at box2d.b2ContactFactory.Create (laya.physics.js:576)     at box2d.b2ContactManager.AddPair (laya.physics.js:586)   ...

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

9. "Cannot read property 'addChild' of undefined" [ 99%]

"Cannot read property 'addChild' of undefined" 第一个方法 是button 响应时间 添加一个Prick 对象 (没有问题) 第二个方法 是通过  viruses.forEach(this.drawVirus);  添加 Prick  (报错 map 没有addChild 方法) 什么鬼?   附件 : --> 2017-05-16 添加评论...

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

10. TypeError: Cannot set property 'material' of undefined [ 98%]

TypeError: Cannot set property 'material' of undefined this.unit3D = Laya.Loader.getRes("Unity/Unit.lh") as Laya.MeshSprite3D; this.scene3D.addChild(this.unit3D);         this.unit3D.transform.localScale = new Laya.Vector3(1, 1, 1); this.unit3D.transform.translate(new Laya.Vector3(0, 0, 0))...

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