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

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

1. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 100%]

...DataList:KV 数据列表 * success:接口调用成功的回调函数 * fail:接口调用失败的回调函数 * complete:接口调用结束的回调函数(调用成功、失败都会执行) */ //@ts-ignore wx.setUserCloudStorage({ KVDataList: KVDataList, success: () => { console.log("...

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

2. 微信小游戏Worker使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 94%]

...实现 worker.postMessage({ errCode:0, data:res, readyUrl:data.url }); }, fail:function(res){ console.log("worker downloadfile url:" + data.url); res.type = "Image"; worker.postMessage({ errCode:1, data:res, readyUrl:data.url }); } }); }); ​ 上面代码中,onMessage用来接收从引擎层MiniW...

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