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

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

1. load方法的progress回调进的次数太少了。是我哪里设置有问题么 [ 100%]

load方法的progress回调进的次数太少了。是我哪里设置有问题么 load(url: any, complete?: laya.utils.Handler, progress?: laya.utils.Handler, type?: string, priority?: number, cache?: boolean): LoaderManager; 是因为资源太少么。 2016-10-10 添加评论 免费帖 --> 分享 ...

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

2. 为什么load 的progress会被执行两次,complete在加载失败时也会执行 [ 98%]

为什么load 的progress会被执行两次,complete在加载失败时也会执行 如题, PS,官方API该更新了 2017-06-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: progress方...

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

3. 针对2.0.0 beta5 setLoadingPage 做增强 [ 98%]

...m {Laya.Handler} complete 打开场景完成回调 * @param {Laya.Handler} progress 打开场景进度回调 */ openScene(url = null, otherHandler = null, closeOther = true, param = null, complete = null, progress = null) { if (!url) return if (otherHandler === null) otherHandler = this._promiseHand...

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

4. Laya.loader Progress回调形同虚设 [ 97%]

Laya.loader Progress回调形同虚设 private function beginLoad():void { //加载引擎需要的资源 Laya.loader.load([ "res/1.png", "res/2.png", "res/3.png", "res/4.png", "res/5.png", "res/6.png", "res/7.png" ], Handler.create(this, onLoaded),Handler.create(this, onProgress)); //Laya.loader.lo...

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

5. laya接入fairyGUI的时候资源加载方式? [ 96%]

...加载 * @param resKey * @param otherLoadData * @param complete * @param progress * @param priority */ public load(resKey: string, otherLoadData: any, complete?: Laya.Handler, progress?: Laya.Handler, priority?: number) { if (priority) { this.priority = priority; } else { this.priority = 1; } if (pr...

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

6. Laya.loader.load 加载时长10秒,的progress 回调只会调用一次,0.2就再也不会被调用到了。为什么啊 [ 96%]

Laya.loader.load 加载时长10秒,的progress 回调只会调用一次,0.2就再也不会被调用到了。为什么啊 这个查了下,好像确实不能获取到加载进度。能不能用websocket或其它的方法来模拟。因为是合并后的图集,用文件个数来统计没啥卵...

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

7. Laya.loader.create中的progress回调好像不准确? [ 95%]

Laya.loader.create中的progress回调好像不准确? 如图,我加载二十多M的资源(大概二三十个文件),进度回调只有一次,是不是这个回调有问题?   附件 : --> 2018-03-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

8. 分享-js资源进度加载 [ 92%]

...加载 var ui_Socket: Socket; // 程序入口 class GameMain { //进度UI Progress: Progress; Socket: Socket; arr = [ { url: "images/1.jpg", type: Laya.Loader.IMAGE } , { url: "images/2.jpg", type: Laya.Loader.IMAGE } , { url: "images/3.jpg", type: Laya.Loader.IMAGE } , { url: "images/4.png", type: ...

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

9. Laya中Button等组件lose skin的问题 [ 92%]

...ge多做了一件事Laya.loader.load。 __proto.load=function(url,complete,progress,type,priority,cache,group,ignoreCache){         var _$this=this;         (priority===void 0)&& (priority=1);         (cache===void 0)&& (cache=true);         (ignoreCac...

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

10. UI组件详解 · LayaAir3.0文档 · LAYABOX [ 91%]

... 另一类是,多个资源对应一个UI组件的组合资源,例如,progress_loading.png与progress_loading$bar.png组合形成一个progress组件,progress_loading.png为组件名是进度条的背景资源,另一个在progress_loading后面带了一个$bar的是进度条的进度资源...

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