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

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

1. Spine3D渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 100%]

...载Spine动画数据资源(json文件),注意一定要设置为Laya.Loader.SPINE类型,否则不会把json认为是SPINE资源 Laya.loader.load("girl2/mix-and-match-pro.json", Laya.Loader.SPINE).then(() => { // 添加Spine3D渲染器组件到3D精灵节点上 this.spine3D = this.owner.add...

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

2. Spine渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 98%]

...载Spine动画数据资源(json文件),注意一定要设置为Laya.Loader.SPINE类型,否则不会把json认为是SPINE资源 Laya.loader.load("girl2/mix-and-match-pro.json", Laya.Loader.SPINE).then(() => { // 添加Spine渲染器组件到精灵节点上 this.spine = this.owner.addCompon...

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

3. 插件开发说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 61%]

...内容并返回。如果不需要支持热重载,则忽略。 @Laya.regLoader(["abc"], null, true) export class DemoAssetLoader implements Laya.IResourceLoader { async load(task: Laya.ILoadTask): Promise<any> { let json = await task.loader.fetch(task.url, "json"); let res = task.obsoluteInst...

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