大约有 409 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
...Mode="horizontal"; //加载FGUI中的文件 var ProgressBar,resArray; Laya.loader.load([ {url:"res/Public.fui",type:laya.net.Loader.BUFFER}, {url:"res/Public@atlas_ucn9w.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas_ucn90.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas0.png",type...
来源: Laya_社区 发布时间: 20171207
...g 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 微信6.7.2版本3D显示BUG 微信小游戏兼容性bug 部分机型load场景不显示 image loadimage 加载网...
来源: Laya_社区 发布时间: 20190625
...资源地址使用中括号 )加载 .proto 文件失败: Laya.loader.load(["res/protobuf/user.proto"], Handler.create(this, onAssetsLoaded)); 错误提示如下: [warn]Retry to load: E:/LayaBox/ProtobufLoadTest/bin/res/protobuf/user.proto [error]Failed to load: E:/LayaBox/ProtobufLoadTe...
来源: Laya_社区 发布时间: 20161223
几个加载同一资源只有一个回调 在多个地方同时使用loader load同一资源 为啥只返回最后一次的回调函数? 2018-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ckp0799 赞同...
来源: Laya_社区 发布时间: 20180322
...,导致这个问题是因为没有资源也调用了加载完成, Laya.loader.on(Laya.Event.ERROR, this, this.onLibError); Laya.loader.load([{ url:com.globals.GameConfig.XML_LIB_URL, type:Loader.BUFFER }], Handler.create(this, this.onLibLoaded)); 资源是不存在的,然后还是调用了 thi...
来源: Laya_社区 发布时间: 20171102
...上测试加载服务器资源 URL.basePath = "http://212.xx.xx.xx/"; Laya.loader.load("res/atlas/comp.atlas",Handler.create(this,loadComplete)); loadComplete(){显示自己的ui}; 项目设置选择不校验合法域名。(我没有配置域名,用IP可以吗?) 发现comp.atlas是加载下...
来源: Laya_社区 发布时间: 20190116
...么删除释放资源? 模型资源释放问题 更改资源路径的URL Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug u3d 资源怎么做才能导入到layabox 里面用 Animation的createFrames为何加载不了有的图集资源 2.0...
来源: Laya_社区 发布时间: 20180112
Laya.loader.clearTextureRes引起的内存泄露以及恢复图片显示闪烁 1、引擎和ide版本都是2.1.2 2、点击屏幕会绘制一个光圈特效 3、点击第1次加载资源使用后释放调用Laya.loader.clearTextureRes 4、再点第2次 1、图片代码中指示出必然会...
来源: Laya_社区 发布时间: 20200317
...createChildren(); let assets = [ { url: "res/atlas/ui/shared.atlas", type: Loader.ATLAS }, { url: "res/atlas/ui/myview.atlas", type: Loader.ATLAS }, { url: "view/MyView.json", type: Loader.JSON }, ] Laya.loader.load(assets, Handler.create(this, this.onLoaded)); } private onLoaded():void { this.creat...
来源: Laya_社区 发布时间: 20180113
...种文件放不同的图片。。发现加载图片时加载不了。 Laya.loader.load(["res/atlas/img/hall.json"],Laya.Handler.create(this, onLoaded),null,Laya.Loader.ATLAS);无法加载。。。怎么回事 2017-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20170412