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

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

61. 缓存工具-layadcc · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

...,reject)=>{ downloadBigFile(url, localfile, (total, now, speed) => { console.log(`downloading:${Math.floor((now / total) * 100)}`) return false;0 }, (curlret, httpret) => { if (curlret != 0 || httpret < 200 || httpret >= 300) { resolve(null); } else { resolve(localfile); } }, 10, 1000...

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

62. 安卓闪退,有日志 [ 47%]

....0 js 调用 oc 同步方法,有返回值的时候崩溃 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 多application打包laya获取资源失败导致闪退 LayaFlash 怎么判断苹果IOS 还是安卓Android? 构建安卓项目导入到Android Studio 中,报...

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

63. 针对2.0.0 beta5 setLoadingPage 做增强 [ 43%]

...ass page2 extends Laya.Scene { constructor() { super() } onOpened (args) { console.log(args) } }   附件 : --> 2018-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 感谢分享~! ...

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

64. 看看这是在打印什么?? [ 43%]

... laya中js 调到 java 那边的方法 是在主线程吗 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 如何确定自己是在Native环境中? worker.js的如何正确使用?所有资源都加载2遍,第一遍是在work.js所在的目录下,第二遍正常...

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

65. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 42%]

...此时可以魔改一下 if (_inline) { yield updateDcc(); if (!isDccOk) { console.log("init dcc fail"); return; } } if( !(yield dj_hook.OnDccOk()) ) { if (window["onLayaInitError"]) { window["onLayaInitError"]("Update index error"); } return; } var data = yield asyncs.loadText(url); for (var n = 0;...

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

66. ts加密md5码封装 [ 36%]

...ude": [ "node_modules" ] } test: let str = Md5.Instance.get_md5("123456"); console.log(str) //len:32 //e10adc3949ba59abbe56e057f20f883emd5.ts class Md5 { private static _inst:Md5; public static get Instance():Md5 { return this._inst ||(this._inst = new Md5()); } public get_md5(str:string):string { r...

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