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

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

1. 针对2.0.0 beta5 setLoadingPage 做增强 [ 100%]

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

2. UI组件资源命名规则 · LayaAir3.3 · 引擎文档 · LAYABOX [ 98%]

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

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

3. laya.net.LoaderManager [ 86%]

...部停止加载。LoaderManager  create(url:*, complete:Handler = null, progress:Handler = null, clas:Class = null, params:Array = null, priority:int = 1, cache:Boolean = true):* 根据clas类型创建一个未初始化资源的对象,随后进行异步加载,资源加载完成后,初始化...

来源: laya_api 发布时间: 20170929

4. laya.net.LoaderManager [ 83%]

...部停止加载。LoaderManager  create(url:*, complete:Handler = null, progress:Handler = null, type:String = null, constructParams:Array = null, propertyParams:Object = null, priority:int = 1, cache:Boolean = true):void 根据clas类型创建一个未初始化资源的对象,随后进行异步...

来源: Laya2.0_api 发布时间: 20190513

5. 预制体模块 · LayaAir3文档 · LAYABOX [ 83%]

...ad( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png"] ).then(() => { let resArr: Array<any> = [ { url: "resources/prefab/uiDemo/useUI/ChangeTexture.lh", type: Laya.Loader.HIERARCHY }, { url: "resources/prefab/uiDemo/useUI/...

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

6. 预制体 · LayaAir3.3 · 引擎文档 · LAYABOX [ 82%]

...ad( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png"] ).then(() => { let resArr: Array<any> = [ { url: "resources/prefab/uiDemo/useUI/ChangeTexture.lh", type: Laya.Loader.HIERARCHY }, { url: "resources/prefab/uiDemo/useUI/...

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

7. 垂直滑动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 80%]

...滑动条,则包含滑块资源vslider$bar.png、进度条资源vslider$progress.png 、底图资源vslider.png,如图1-3所示。如果缺少了进度条资源组件也不会报错,只是不显示进度。 (图1-3) 进度条资源vslider$progress.png可以与底图资源vslider.png互换...

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

8. 水平滑动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 80%]

...滑动条,则包含滑块资源hslider$bar.png、进度条资源hslider$progress.png 、底图资源hslider.png,如图1-3所示。如果缺少了进度条资源组件也不会报错,只是不显示进度。 (图1-3) 进度条资源hslider$progress.png可以与底图资源hslider.png互换...

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

9. laya.net.LoaderManager_API3.0 [ 79%]

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

10. 场景管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 76%]

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