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

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

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

...实现 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

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

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

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

3. Spine渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...ine的atlas之后,运行的时候会出现类似以下提示的警告。 Failed to load 'http://localhost:18094/resources/ddlx_02/ddlx_02.atlas' Unexpected token 'd', "ddlx_02.pn"... is not valid JSON 这是由于,虽然spine的atlas和我们引擎的图集文件atlas同名,但不是同样的...

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