大约有 270 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
Laya_社区(197) Laya2.0_文档(22) Laya3.0_文档(15) Laya3.0_api(12) Laya2.0_api(10) laya_api(6) Laya_示例(4) Laya2.0_示例(4)
...e create(url: string | (string | createItem)[], complete?: Handler | null, progress?: Handler | null, type?: string | null, constructParams?: any[] | null, propertyParams?: any, priority?: number, cache?: boolean): void Defined in laya/net/LoaderManager.ts:97 根据clas类型创建一个未初始化...
来源: Laya3.0_api 发布时间: 20231102
...te加载完成后调度。Loader error加载出错时调度。Loader progress加载进度发生改变时调度。LoaderPublic Constants ConstantDefined By ATLAS : String = atlas[static] 图集类型,加载完成后返回图集json信息(并创建图集内小图Texture)。Loader BUFFER...
来源: laya_api 发布时间: 20170929
...ing = played[static] 定义 played 事件对象的 type 属性值。Event PROGRESS : String = progress[static] 定义 progress 事件对象的 type 属性值。Event RECOVERED : String = recovered[static] 定义 recovered 事件对象的 type 属性值。Event RELEASED : String = released[static]...
来源: laya_api 发布时间: 20170929
... this.onFontLoaded(); }), Handler.create(this, (progress) => { console.log('bitmapFont loading', progress); }, null, false)); this.bitmapFont = new BitmapFont(); } onFontLoaded() { // 设置空格的宽 this.bitmapFont.setSpaceWidth(1...
来源: Laya_社区 发布时间: 20190221
... } this.event(Event.PROGRESS, 0.3 + 1 / toloadPics.length * 0.6); return this._loadResourceFilter(Loader.IMAGE, URL.formatURL(toloadPics.pop())); } ...
来源: Laya_社区 发布时间: 20201130
...aram complete 打开完成回调,返回场景实例(可选) * @param progress 加载进度回调(可选) */ static open(url: string, closeOther: boolean = true, param: any = null, complete: Handler = null, progress: Handler = null): Promise<Scene> { Scene.showLoadingPage(); return Sc...
来源: Laya3.0_文档 发布时间: 20251010
...置,失灵~ ide[项目设置]的[默认字体]并不生效 load方法的progress回调进的次数太少了。是我哪里设置有问题么 问题状态 最新活动: 2016-12-19 15:39 浏览: 1759 关注: 2 人
来源: Laya_社区 发布时间: 20161219
..."},"type":"CheckBox"},{"type":"Box","child":[{"props":{"y":70,"skin":"comp/progress.png","width":150,"height":14,"sizeGrid":"4,4,4,4","name":"progress"},"type":"ProgressBar"},{"props":{"y":103,"skin":"comp/label.png","text":"This is a Label","width":137,"height":26,"fontSize":20,"name":"label"},"typ...
来源: Laya_社区 发布时间: 20170330
...自己实现下载zip到本地之后才能调用这个函数。 * @param progress 进度提示,暂时没有实现。 */ async updateByZip(zipfile: string, zipClass: new () => IZip, progress: (p: number) => void) { let zip = new zipClass(); zip.open(zipfile); //TODO 数据太多的时候要...
来源: Laya3.0_文档 发布时间: 20251010
... this.onFontLoaded(); }), Handler.create(this, (progress) => { console.log('bitmapFont loading', progress); }, null, false)); this.bitmapFont = new BitmapFont(); } onFontLoaded() { // 设置空格的宽 this.bitmapFont.setSpaceWidth(1...
来源: Laya_社区 发布时间: 20190225