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

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

81. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 51%]

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

82. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 51%]

...ew Laya.HttpRequest(); //new一个HttpRequest类 this.http.once(Laya.Event.PROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //数据传输失...

来源: Laya_社区 发布时间: 20180315

83. 【简单跑酷--JS版】---Lv.6 终篇 [ 47%]

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

84. 微信小游戏加载资源问题 [ 37%]

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

85. laya.ui.ProgressBar_API3.0 [ 35%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ProgressBar" ProgressBar Class ProgressBar ProgressBar 组件显示内容的加载进度。 example 以下示例代码,创建了一个新的 ProgressBar 实例,设置了它的皮肤、位置、宽高、网格等信息,...

来源: Laya3.0_api 发布时间: 20231115