大约有 914 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0047 秒)
Laya_社区(693) Laya2.0_文档(89) Laya_示例(48) Laya2.0_示例(39) Laya3.0_文档(24) Laya3.0_api(19) laya_api(1) Laya2.0_api(1)
...信 nevercai 赞同来自: 138*****161 这就是prefab的功能了。Laya.loader.load([{url:"prefab/ButtonA.json", type:Laya.Loader.PREFAB}], Laya.Handler.create(this, ()=>{ let prefab = Laya.loader.getRes("prefab/ButtonA.json") as Laya.Prefab; let o:Laya.Button = prefab.create(); o.zOrder = 1000...
来源: Laya_社区 发布时间: 20190210
Laya.loader和Laya.MiniAdpter.downLoadFile的区别 Laya.loader下载的文件可以自动缓存在本地,Laya.MiniAdpter.downLoadFile,文档说,可以下载和管理缓存文件。 那他们有什么不同呢? 具体什么情况下用哪个呢? 实在找不到文档或者例子了。希...
来源: Laya_社区 发布时间: 20200413
...的提示功能 以下提供了三种鼠标提示package { import laya.net.Loader; import laya.ui.Button; import laya.ui.TipManager; import laya.utils.Browser; import laya.utils.Handler; import ui.TestTipsUI; public class ToolTipDemo { private var _testTip:TestTipsUI;//ui弹框(IDE发布),用...
来源: Laya_社区 发布时间: 20161115
... Laya3D._onTextureCubeLtcLoaded Laya3D._onTextureCubeLtcLoaded=function(loader,ltcData){ if (loader._class.destroyed){ loader.endLoad(); }else { var ltcBasePath=URL.getPath(loader.url); ...
来源: Laya_社区 发布时间: 20180508
...JS 如: var atlas:Object[] = [{ url: "res/atlas/choujiang.js", type: Loader.TEXT }, { url: "res/atlas/choujiang.json", type: Loader.ATLAS }, ]; Laya.loader.load(atlas, Handler.create(this, this.onLoaded), Handler.create(this, this...
来源: Laya_社区 发布时间: 20180511
...从第二张图片(迈出左脚的那张图片)开始的。 还有Loader.ATLAS是static] 图集类型,加载完成后返回图集json信息(并创建图集内小图Texture)。 load(url:String, type:String = null, cache:Boolean = true):void 加载资源。 Laya.loader.load(AniConfPat...
来源: Laya_社区 发布时间: 20160712
Laya.loader.load() 是怎么发送请求的? 如题,请问Laya.loader.load() 通过啥调用 HttpRequest的send方法的啊? 2018-04-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: ...
来源: Laya_社区 发布时间: 20180410
... Sprite3D 相关的缓存资源 通过 lh格式 生成的 Sprite3D, Laya.loader.create(_path, Handler.create(this,OnComplete),null,Sprite3D); 要怎么清理掉他的所有缓存资源? 附件 : --> 2018-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20180517
...EFFECT_PATH_3D+url; var itemComplete:Sprite3D = Laya.loader.getRes(_path); if(itemComplete == null || itemComplete.loaded == false){ var groupName:String = null; if(isGroup == true){ ...
来源: Laya_社区 发布时间: 20180601
Laya.loader.load和new Laya.Loader区别? let json:any = Laya.loader.getRes(this._data.url); if(json) { return; } let load:Laya.Loader = new Laya.Loader(); 这么写 频繁加载会一直报资源重复加载 但是我 Laya.loader.load(xxxxxxxxx) 频繁加载就没事 请问这两者的区别 我...
来源: Laya_社区 发布时间: 20171213