大约有 10 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0064 秒)
...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
...源命名规则 多个资源对应一个UI组件的组合资源,例如,progress_loading.png与progress_loading$bar.png组合形成一个progress组件,progress_loading.png为组件名是进度条的背景资源,另一个在progress_loading后面带了一个$bar的是进度条的进度资源...
来源: Laya3.0_文档 发布时间: 20251010
...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
...,错误事件等 /** * 请求进度改变时调度。 * @eventType Event.PROGRESS * */ /*[Event(name = "progress", type = "laya.events.Event")]*/ /** * 请求结束后调度。 * @eventType Event.COMPLETE * */ /*[Event(name = "complete", type = "laya.events.Event")]*/ /** * 请求出错时调度...
来源: Laya3.0_文档 发布时间: 20250104
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ProgressBar" ProgressBar Class ProgressBar ProgressBar 组件显示内容的加载进度。 example 以下示例代码,创建了一个新的 ProgressBar 实例,设置了它的皮肤、位置、宽高、网格等信息,...
来源: Laya3.0_api 发布时间: 20231115
...鼠标事件。 EventDispatcher load(url:String, complete:Handler = null, progress:Handler = null):void[static] 加载场景及场景使用到的资源 Scene loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:...
来源: Laya2.0_api 发布时间: 20190513
...500毫秒 Returns void Static load load(url: string, complete?: Handler, progress?: Handler): Promise<Scene> Defined in laya/display/Scene.ts:372 加载场景及场景使用到的资源 Parameters url: string 场景地址 Default value complete: Handler = null 加载完成回调,返回场景...
来源: Laya3.0_api 发布时间: 20231115
...500毫秒 Returns void Static load load(url: string, complete?: Handler, progress?: Handler): Promise<Scene> Inherited from Scene.load Defined in laya/display/Scene.ts:372 加载场景及场景使用到的资源 Parameters url: string 场景地址 Default value complete: Handler = null 加载...
来源: Laya3.0_api 发布时间: 20231115
...包括 安卓跟苹果 MoreGame load(url:String, complete:Handler = null, progress:Handler = null):void[static] 加载场景及场景使用到的资源 Scene loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:...
来源: Laya2.0_api 发布时间: 20190513
...鼠标事件。 EventDispatcher load(url:String, complete:Handler = null, progress:Handler = null):void[static] 加载场景及场景使用到的资源 Scene loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:...
来源: Laya2.0_api 发布时间: 20190513