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

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

1. js飞机大战报错 请大神看看 [ 100%]

...         this.reset();     } ...     "Cannot read property 'on' of undefined" "TypeError: Cannot read property 'on' of undefined     at new GameInfo (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/src/GameInfo.js:12:22)     at onLoaded (file:///C:/Users/Kevin/Desktop/test/AirWar/Air...

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

2. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 82%]

...kaka • 2017-12-13 16:49 Uncaught TypeError: Cannot read property 'on' of undefined提示的是这个错误,不是事件绑定的问题,是获取this.getGold为undefined,想知道这个怎么用 Laya_Aaron • 2017-12-13 17:01 你这个问题 所提供的截图 内容太少,多贴代码 或...

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

3. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 47%]

...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 图集打包找不到图集文件 官方新手游戏引导示例中关于hit和unHit的使用疑问 关于apk打包动画卡...

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

4. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 41%]

...rror Error name:TypeError Error message:Cannot read property getContext of undefined Stacktrace: Cannot get SourceMap info, dump raw stack: at func_main_0 (entry|entry|1.0.0|src/main/ets/MainAbility/MainAbility.ts:9:47) hdc hilog记录的日志信息:01-06 17:34:41.491 797 1382 I C01300/Ability: [...

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