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

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

581. 用https://layaair.ldc.layabox.com/demo/?2d&Network&XML 官网例子来测试XmlDom,编译报错 [ 72%]

用https://layaair.ldc.layabox.com/demo/?2d&Network&XML 官网例子来测试XmlDom,编译报错 如题,错误信息为 warning:XmlDom This variable is not defined. 2017-10-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

582. Laya3D init error, must support webgl [ 72%]

Laya3D init error, must support webgl 3d游戏发布成oppo包,在真机测试打印无法运行,打印了Laya3D init error, must support webgl 请问是什么问题,如何解决? 2019-10-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

583. [LayaAir3]LocalStorage.get报错 [ 72%]

[LayaAir3]LocalStorage.get报错 Uncaught TypeError: Cannot read properties of undefined (reading 'getItem') 2025-10-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 LayaAir小牛 赞同来自: 可以发一个de...

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

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

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

585. @regClass编译报错! [ 72%]

...zzzz, "funzzzzz");    // src/CtrlBase.ts   var { regClass, property } = Laya;   var CtrlBase = class extends Laya.Script {     constructor() {       super();     }     cccc() {       funzzzzz;     }   };   __name(CtrlBase, "CtrlBase");   CtrlBase = __decorateClass([     regCla...

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

586. 微信小游戏开放域能否调用 wx.shareAppMessage [ 72%]

...里面分享排行 但是提示以下错误 gameSubContextThirdScriptError Laya.Browser.window.wx.shareAppMessage is not a function;at requestAnimationFrame callback function TypeError: Laya.Browser.window.wx.shareAppMessage is not a function 2018-10-14 添加评论 免费帖 --> 分享 微博 QZONE...

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

587. 求助,切换到后台过一会再从后台切换回来报错 [ 72%]

... parameter 1 is not of type 'Event'. at EventEmitter.<anonymous> (D:\laya\LayaAirIDE_beta\resources\electron.asar\renderer\window-setup.js:176:16) at emitTwo (events.js:106:13) at EventEmitter.emit (events.js:191:7)   附件 : --> 2018-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

588. web端正常ios版发布之后报错 [ 72%]

...找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 打包后应该指向index.js 2019-05-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 182*****033 相关问题 Layabox 2.0 bate5 运行...

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

589. new vector2报错 [ 72%]

new vector2报错 let pos: Laya.Vector2 = new Laya.Vector2(100, 100); 直接就包了一个异常 "Laya.Vector2 is not a constructor" 这是为什么   版本1.7.20 beta 附件 : --> 2018-08-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

590. laya2.0 async怎么用呢? [ 72%]

laya2.0 async怎么用呢? 以前使用laya1.7.2版本,在用到async的地方会在编译js代码的时候生成__awaiter和__generator函数,但是laya2.0不会这样子了,直接ts写async会报错。 尝试在index.js文件添加__awaitor和__generator函数,能跑,但是到了微...

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