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

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

11. 多选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

...aya.CheckBox { let cb: Laya.CheckBox = new Laya.CheckBox(skin); this.owner.addChild(cb); cb.labelColors = "white"; cb.labelSize = 20; cb.labelFont = "Microsoft YaHei"; cb.labelPadding = "3,0,0,5"; return cb; } private updateLabel(checkBox: Laya.CheckBox): void { checkBox.label = checkBox.selected ? ...

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

12. 微信小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

...gt; { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.printProgress).then(() => { Laya.loader.load("sub2/Sphere.lh").then((res: any) => { let sp3 = res.create(); this.scene3d.addChild(sp3); }); }) } printProgress(r...

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

13. 通用发布设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

... =>{ let sp3:Laya.Sprite3D =res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2","http://192.168.56.1:2840/",this.printProgress).then(()=>{ Laya.loader.load("sub2/sphere.lh").then((res:Laya.PrefabImpl) =>{ let sp3:Laya.Sprite3D =res.create() as La...

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