大约有 95 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
Laya_社区(73) Laya3.0_文档(7) Laya3.0_api(4) Laya2.0_文档(3) laya_api(2) Laya_示例(2) Laya2.0_示例(2) Laya2.0_api(2)
...ata); this._customParse=false; this.event("progress",1); this.event("complete",(this.data instanceof Array)? [this.data] :this.data); } 上面这里直接判断失败,走了false 具体见附件。 望解决 附件 : --> WX3D.rar laya3D工...
来源: Laya_社区 发布时间: 20180101
...: void { //小游戏加载分包 Laya.loader.loadPackage("sub1", this.printProgress).then(() => { Laya.loader.load("sub1/Cube.lh").then((res: Laya.PrefabImpl) => { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.pr...
来源: Laya3.0_文档 发布时间: 20251010
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ProgressBar" ProgressBar Class ProgressBar ProgressBar 组件显示内容的加载进度。 example 以下示例代码,创建了一个新的 ProgressBar 实例,设置了它的皮肤、位置、宽高、网格等信息,...
来源: Laya3.0_api 发布时间: 20231115
...fig.GameHeight - this.txt.height) * 0.5; this.addChild(this.txt); } _proto.progress = function(value){ this.txt.text = "Loading " + parseInt(value * 100) + "%"; } })();[/i][i](function () { /** * 游戏介绍 */ function GameInfo(){ this.bg = null; this.txt = null; GameInfo.__super.call(this); this....
来源: Laya_社区 发布时间: 20160803
...lBack != null && callBack.runWith([1, data]); } }); downloadTask.onProgressUpdate(function (data) { callBack != null && callBack.runWith([2, data.progress]); }); } static readFile(filePath, encoding = "utf8", callBack = null, readyUrl = "", isSaveFile = false, fil...
来源: Laya_社区 发布时间: 20200103