大约有 136 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
Laya_社区(109) Laya3.0_文档(8) Laya3.0_api(6) Laya2.0_api(5) Laya2.0_文档(3) Laya_示例(2) Laya2.0_示例(2) laya_api(1)
...把scene里的静态方法: static load(url: string, complete?: Handler, progress?: Handler): void; static open(url: string, closeOther?: boolean, param?: any, complete?: Handler, progress?: Handler): void; static close(url: string, name?: string): boolean; static closeAll(): void; static setLoadi...
来源: Laya_社区 发布时间: 20181128
... alpha遮罩 用法: var texture: Laya.Texture = Laya.Loader.getRes("progress.png"); this.spe = new coolDownSprite(); this.spe.init(texture); //this.spe.initWithoutTexture(128, 128); this.spe.pos(300, 350); this.spe.setProgress(this.progress); Laya.stage.addChild(this.spe); --------------------...
来源: Laya_社区 发布时间: 20170606
...者回调 如何定义动画播放过某帧后的回调函数 load方法的progress回调进的次数太少了。是我哪里设置有问题么 创建树Tree 该怎么回调mouseHandler 形参该传什么 Laya.Handler.create 回调 执行回调函数时报is not a function Laya.loader.create 进度...
来源: Laya_社区 发布时间: 20191028
...`Laya.Handler.create(this,onLoading)`返回的回调方法,是要处理progress加载进度事件,由于回调执行一次之后就被对象池回收了,所以,progress加载进度事件只触发了一次就结束了,但实际上资源并未加载完成,还处于加载中,所以这样...
来源: Laya2.0_文档 发布时间: 20210715
...调 Laya.LoaderManager.prototype["_loadAssets"] = function (arr, complete, progress, type, priority, cache, group) { (priority === void 0) && (priority = 1); (cache === void 0) && (cache = true); var itemCount = arr.length; var loadedCount = 0; var totalSize = 0; var items = ; var su...
来源: Laya_社区 发布时间: 20171226
...ya.Handler.create(this,this.onLoading)`返回的回调方法,是要处理progress加载进度事件,由于回调执行一次之后就被对象池回收了,所以,progress加载进度事件只触发了一次就结束了,但实际上资源并未加载完成,还处于加载中,所以这...
来源: Laya2.0_文档 发布时间: 20210715
...ya.Handler.create(this, this.onLoading, null, false)); } private onLoading(progress: number): void { console.log("加载进度: " + progress); } private onAssetLoaded(texture:Laya.Texture){ console.log("加载结束"); } Log输出内容 Warning!,this class[MiniAdpter] already exist: Object {} 加载...
来源: Laya_社区 发布时间: 20180314
...用`Handler.create(this, onLoading)`返回的回调方法,是要处理progress加载进度事件,由于回调执行一次之后就被对象池回收了,所以,progress加载进度事件只触发了一次就结束了,但实际上资源并未加载完成,还处于加载中,所以这样...
来源: Laya2.0_文档 发布时间: 20210715
...rowser.width},1000,null,aaa,0,false);aaa是一个测试方法 load方法的progress回调进的次数太少了。是我哪里设置有问题么 自定义组件如何实现图片资源拖动获取路径 http 请求 once 的 回调参数,如何传递和接收? 问题状态 最新活动: 2017-11-09...
来源: Laya_社区 发布时间: 20171109
...有没用对的地方。。。 另外:SceneLoader为啥不加一个progress啊,非常实用的功能,现在得自己load list一下 http://ask.layabox.com/question/39354 2018-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20181102