大约有 1,653 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(1154) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya2.0_文档(85) Laya3.0_文档(42) Laya2.0_示例(9) Laya_示例(9)
...e Index Constructors constructor Properties destoryedImmediately lock name url uuid AVATAR DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _cloneDatasToAnimator _removeReference _setCPUMemory _setCreateURL _setGPUMemo...
来源: Laya3.0_api 发布时间: 20231102
...gColor = "#232628"; // 无加载失败重试 Laya.loader.retryNum = 0; var urls = ["do not exist", "res/fighter/fighter.png", "res/legend/map.jpg"]; Laya.loader.load(urls, Handler.create(this, this.onAssetLoaded), Handler.create(this, this.onLoading, null, false), Loader.TEXT); // 侦听加载失败...
来源: Laya2.0_示例 发布时间: 20251130
...o Index Constructors constructor Properties destoryedImmediately lock name url uuid video DEBUG Accessors cpuMemory destroyed gpuMemory height id obsolute referenceCount width cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy...
来源: Laya3.0_api 发布时间: 20231102
...sion] [-p all|ios|android_eclipse|android_studio|wkwebview] [-t 0|1|2] [-u url] [-n project_name] [-a app_name] [--package_name package_name] #### 参数说明: | 关键字 | 描述 | ------------ | ------------ | `--folder,-f` | 资源路径:把游戏资源打包进客户端以减少网络下载,...
来源: Laya2.0_文档 发布时间: 20210715
...户端和服务器之间传输数据的功能。它提供了一个通过 URL 来获取数据的简单方式,并且不会使整个页面刷新。这使得网页只更新一部分页面而不会打扰到用户。 ### 属性 | 属性 | 类型 | 描述 | | ------------------ | ------------------------...
来源: Laya2.0_文档 发布时间: 20210715
...t;[static] [read-only] 本类型排序后的已载入资源。 Resource url : String 获取资源的URL地址。 ResourceProtected Properties PropertyDefined By _loaded : Boolean = false是否已加载,限于首次加载。ResourcePublic Methods Hide Inherited Public Methods Show Inherited Pu...
来源: laya_api 发布时间: 20170422
请问微信小游戏配置了Laya.URL.basePath为资源服务器地址,是每次加载资源都会重新从服务器拉取资源,还是优先查找本地是否存在该资源,如果不存在才会从服务器拉取资源? 2018-09-13 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180913
...('Normal'); Normal是默认动画,就没有问题。 代码如下: let url=this.color+'Emoji.ani'; this.ani=new Laya.Animation(); this.ani.loadAnimation(url); this.addChild(this.ani); this.ani.play(0,true,'XiuXian'); 3、顺便确认一下:Laya中的事件系统,鼠标事件是冒泡的,...
来源: Laya_社区 发布时间: 20180204
...erties ext loader obsoluteInst onComplete onProgress options progress type url uuid Methods reset Constructors constructor new LoadTask(): LoadTask Defined in laya/net/Loader.ts:1068 Returns LoadTask Properties ext ext: string Implementation of ILoadTask.ext Defined in laya/net/Loader.ts:1061 loader...
来源: Laya3.0_api 发布时间: 20231115
...ui.GameLoadingUI(); //创建加载进度文本 var asset = [] asset[0] = { url: "res/atlas/run.json", type: Laya.Loader.ATLAS } asset[1] = { url: "res/bg.png", type: Laya.Loader.IMAGE } asset[2] = { url: "res/bg1.png", type: Laya.Loader.IMAGE } asset[3] = { url: "res/bg2.png", type: Laya.Loader.IMAG...
来源: Laya_社区 发布时间: 20170103