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

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

61. laya.ui.MoreGame [ 37%]

...包括 安卓跟苹果 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

62. laya.ui.View [ 37%]

...鼠标事件。 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

63. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据通信) [ 36%]

...l. ### 事件 基本的事件大致有如下几种: - `onloadstart` - `onprogress` - `onabort` - `ontimeout` - `onerror` - `onload` - `onloadend` 我们常用的基本就是进度事件,完成事件,错误事件等 每一个`XMLHttpRequest`里面都有一个`upload`属性,而`upload`是一...

来源: Laya2.0_文档 发布时间: 20210714

64. HttpRequest详解(TypeScript-LayaAir基础篇(TS)-数据通信) [ 36%]

...l. ### 事件 基本的事件大致有如下几种: - `onloadstart` - `onprogress` - `onabort` - `ontimeout` - `onerror` - `onload` - `onloadend` 我们常用的基本就是进度事件,完成事件,错误事件等 每一个`XMLHttpRequest`里面都有一个`upload`属性,而`upload`是一...

来源: Laya2.0_文档 发布时间: 20210715

65. HttpRequest详解(ActionScript-LayaAir基础篇(AS3)-数据通信) [ 36%]

...## 事件 ​ 基本的事件大致有如下几种: - `onloadstart` - `onprogress` - `onabort` - `ontimeout` - `onerror` - `onload` - `onloadend` 我们常用的基本就是进度事件,完成事件,错误事件等 每一个`XMLHttpRequest`里面都有一个`upload`属性,而`upload`是一...

来源: Laya2.0_文档 发布时间: 20210715

66. 解决跨域相关! [ 36%]

...上, 看代码-> this.hr=new HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.hr.send("http://www.baidu.com", null, 'post',...

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

67. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 33%]

....Event.COMPLETE, e);             }         }         private progressHandler(e: any): void {             console.log("netconnection progress:", e);             this.event(Laya.Event.PROGRESS, e);         }         private errorHandler(e: any): void {           ...

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

68. laya.ui.ProgressBar_API3.0 [ 32%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ProgressBar" ProgressBar Class ProgressBar ProgressBar 组件显示内容的加载进度。 example 以下示例代码,创建了一个新的 ProgressBar 实例,设置了它的皮肤、位置、宽高、网格等信息,...

来源: Laya3.0_api 发布时间: 20231115

69. laya.display.Scene_API3.0 [ 31%]

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

70. laya.ui.View_API3.0 [ 31%]

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