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

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

71. 运行总报TypeError: Object prototype may only be an Object or null: undefined [ 94%]

运行总报TypeError: Object prototype may only be an Object or null: undefined 我的例子只是简单的几个类继承,总是报这个异常,找了很久不没找到原因,工程见附件 TypeError: Object prototype may only be an Object or null: undefined at setPrototypeOf (<anonymou...

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

72. skeleton的_onAniSoundStoped清除的时候有时会报undefined错误 [ 94%]

skeleton的_onAniSoundStoped清除的时候有时会报undefined错误 /** * @internal * 清掉播放完成的音频 * @param force 是否强制删掉所有的声音channel */ private _onAniSoundStoped(force: boolean): void { for (let len = this._soundChannelArr.length, i = 0; i < len; i++) { le...

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

73. layabox2.0 调用tiledmap提示undefined是为什么,是2.0以后就不支持了吗? [ 94%]

layabox2.0 调用tiledmap提示undefined是为什么,是2.0以后就不支持了吗? this.tMap =new laya.map.TiledMap; 执行后直接报下面的错误。 TypeError: Cannot read property 'TiledMap' of undefined 2018-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

74. Uncaught TypeError: Cannot read property 'props' of undefined [ 94%]

Uncaught TypeError: Cannot read property 'props' of undefined 按照官方提供的代码,导入从unity导出的场景,出现此错误,代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.s...

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

75. Cannot set property 'xxxxxx' of undefined 的问题 [ 94%]

Cannot set property 'xxxxxx' of undefined 的问题 派生类明明新增加的成员变量,访问的时候说没有定义。 SharkItOffData类派生于GameDataBase基类,ShareItOffController派生于UiControl的基类,UiControl里有public data :GameDataBase;变量。在ShareItOffController...

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

76. 释放资源Cannot read property '_getSource' of undefined重新加载会容易报错 [ 94%]

释放资源Cannot read property '_getSource' of undefined重新加载会容易报错 微信小游戏上面  MiniProgramError Cannot read property '_getSource' of undefined TypeError: Cannot read property '_getSource' of undefined at we._uniform_sampler2D (game.js:34:223996) at t.uploadShaderUnifo...

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

77. 生成微信小游戏时各种"undefined"(已解决) [ 94%]

生成微信小游戏时各种"undefined"(已解决) 生成微信小游戏时的坑(我的环境是TypeScript) * 各种"undefined",比如matter undefined, Common,Events undefined等等 * 其实主要原因在于  1. laya会根据index.html顺序把各种js写入code.js  2. matter.js在生成code....

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

78. 调用Laya.Utils.parseXMLFromString 时一直报undefined的错误 [ 94%]

调用Laya.Utils.parseXMLFromString 时一直报undefined的错误 function treeInit() {     let treeData = "<data>";     for (let i = 0; i < 5; ++i) {         treeData += "<item label='Directory " + (i + 1) + "' isOpen='true'>";         for (let j = 0; j <...

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

79. 打包QQ小游戏,Uncaught TypeError: Cannot read property '_doAwake' of undefined [ 94%]

...打包QQ小游戏,Uncaught TypeError: Cannot read property '_doAwake' of undefined laya2.5.0项目打包成QQ小游戏,报Uncaught TypeError: Cannot read property '_doAwake' of undefined 有大佬遇到过这样的问题吗? 如下图   附件 : --> 2020-05-27 添加评论 免费帖 --> 分...

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

80. 运行报错 Uncaught Can not find scene:GameView.scene undefined [ 94%]

运行报错 Uncaught Can not find scene:GameView.scene undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined 附件 : --> buyudaren.zip 2019-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个...

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