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

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

571. 加载界面一直显示 0% [ 55%]

...e if (this.sOS == "Conch-android") { this.bridge.call("loading", value); } console.log("loadingView.prototype.loading=" + value); } }; 这个方法就没有调用,是需要在哪调用吗? 怎么调用? 2019-07-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

572. 多线程Worker · LayaAir3.0文档 · LAYABOX [ 55%]

...er = new Worker("js/my_task.js"); myWorker.onmessage = function (oEvent) { console.log("Called back by the worker!\n"); }; myWorker.postMessage("start"); // start the worker. 新建一个my_task.js文件,放到js文件夹下,代码如下: self.addEventListener('message', function (e) { var xml...

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

573. wx.canvasToTempFilePath在TS下如何使用啊? [ 55%]

...ss: function (res) { wxd.shareUrl = res.tempFilePath wxd.ShareAppMessage() console.log(res.tempFilePath) } }) 一直报错[ts] The 'this' context of type 'typeof wx' is not assignable to method's 'this' of type 'string'. canvasId也是我乱写的 如果才能正确获取小游戏当前画布的canv...

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

574. 播放声音出错,求指教 [ 55%]

...p/bgm.mp3", 1, new Handler(this, bgmComplete)); } function bgmComplete() { console.log("播放完成"); }   附件 : --> 2018-03-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 6 个回复 Laya_Aaron 赞同来自: shaotian...

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

575. 2.3.0截屏问题 [ 55%]

...00, destHeight: 100, fileType: "png", quality: 1.0, success: (res) => { console.log(res.tempFilePath); } }) }   报的是 gameThirdScriptError ImageData is not defined ReferenceError: ImageData is not defined     at Function.RunDriver.drawToCanvas (http://127.0.0.1:27664/game/libs/laya.webgl.j...

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

576. Laya.MathUtil.getRotation接口说明注释错误 [ 55%]

...明 laya2.1.0版本conchMarket和IMarket接口去哪了? laya如何重写console.log 打印错误跟信息到自己写的日志面板上 Mask显示错误 lose skin comp/button.png 错误,全部按照UI案例来的呀 Box自动宽度计算错误 问题状态 最新活动: 2019-10-22 16:27 浏览:...

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

577. 微信小游戏与加载图片时不会触发erroe事件 [ 55%]

...不会触发erroe事件 Laya.loader.on(Laya.Event.ERROR, this, function(){ console.log("err"); }); Laya.loader.load([{url:"res/general/test.png",type:laya.net.Loader.IMAGE}]); 2018-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

578. Mac Chrome 打开 Laya.Browser.onSafari 是 true? [ 55%]

Mac Chrome 打开 Laya.Browser.onSafari 是 true? Mac Chrome 打开, console.log Laya.Browser.onSafari 是 true?  2018-12-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 123黄 谷歌...

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

579. LayaAir3.0.5版本 IDE 左下角项目资源 过滤文件 操作删除 [ 55%]

...de 2.4 layaair2-cmd 编译报错 web端打包发布后能不能自动删除console.log new Laya.Sprite();绘制图形以后,怎么删除释放资源? 问题状态 最新活动: 2023-09-19 10:05 浏览: 5218 关注: 2 人 zyy • 2023-09-19 09:26 都讲了 操作失误 发现的一个bug zyy • ...

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

580. 用微信的方法获取openID和会话秘钥的方法 [ 55%]

..._code="+code+"&grant_type=authorization_code", success:function(res) { console.log("获取到openid为"+res.data.openid) } }) 2018-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复   赞同来自: 感谢...

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