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

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

121. this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function [ 53%]

...试的时候出现document.createTextNode is not a function api readFile success callback function undefined Uncaught TypeError: Cannot read property 'load' of null 问题状态 最新活动: 2019-10-24 13:42 浏览: 1387 关注: 4 人

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

122. Cannot read property 'call' of undefined [ 53%]

...undefined [TMA][ERROR][RUNTIME] thirdScriptError undefined;at api readFile success callback function discard property,please use transform's property instead Cannot set property text of #<Button> which has only a getter XmlDom类没有了?解析xml时,报错Property 'attributes' does not e...

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

123. 导入微信小游戏的时候 [ 53%]

... Sprite3D,please use other function to  load  this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load  this file.     at Sprite3D.__proto.onAsynLoaded (http://127.0.0.1:65353/game/code.js:82641:10)     a...

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

124. Cannot read property 'call' of undefined [ 52%]

...undefined [TMA][ERROR][RUNTIME] thirdScriptError undefined;at api readFile success callback function discard property,please use transform's property instead Cannot set property text of #<Button> which has only a getter XmlDom类没有了?解析xml时,报错Property 'attributes' does not e...

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

125. 如何与服务端建立连接 [ 52%]

...aya.Socket(); socket.on(Laya.Event.OPEN,this,()=>{ console.log("connect success!"); }) socket.connectByUrl(url);点此查看Socket官方示例 2018-05-15 1 0 分享 微博 QZONE 微信 rabbit 赞同来自: 只要前端的,还是要前端和后端代码? 2018-05-15 0 1 分享 微博 QZONE 微...

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

126. 微信授权,获取用户信息的接口实现方法,wx.createUserInfoButton [ 52%]

... gameLogin()     {         wx.login(         {             success: (res) =>              {                 if (res.code)                  {                     code= res.code;                     console.log("登陆成功,获取到code"...

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

127. 微信小游戏打包后SFS2X.d.ts没有打包成js文件 导致运行报错未找到 [ 52%]

...js文件 导致运行报错未找到 SFS2X is not defined;at api readFile success callback function ReferenceError: SFS2X is not defined     at Server.initSFS (http://127.0.0.1:17168/game/code.js:130617:26)     at GameMain.initGame (http://127.0.0.1:17168/game/code.js:176074:20)     at EventHa...

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

128. 在微信分享成功的回调函数里,Laya播放音效失败。 [ 51%]

...猪佩奇身上纹,掌声送给社会人", imageUrl: "images/boss.png", success: function () { gameex.bar.shareCount += 1; gameex.bar.clearCountDown(); gameex.snakeSelf.updateState(EN_SNAKE_STATE_NORMAL); gameex.snakeSelf.setLength(3) gameex.buffManager.buildBuff(EN_SNAKE_BUFF_ID_1, gameex.snakeSe...

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

129. Laya.loader.create 报错, 升级2.0.2后 游戏卡顿 [ 51%]

...riptError Cannot read property '_addReference' of undefined;at api request success callback function TypeError: Cannot read property '_addReference' of undefined     at t.<anonymous> (https://usr/game.js:49:8301)     at e.n._parse (https://usr/game.js:66:1995)     at Function.t._creat...

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

130. iOS-App内购(TypeScript-LayaNative原生服务-LayaNative进阶) [ 51%]

...| 购买数量 | | order_id | string | 订单ID | | desc | string | 成功"success", 失败"error" | ### 4. 注意事项: iOS的IAP功能并不属于LayaNative引擎的核心功能,此部分代码也是开放的,开发者可以根据自己的需求自行修改,如出现充值问题,LayaBox...

来源: Laya2.0_文档 发布时间: 20210715