大约有 114 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0035 秒)
... } public loadMainDatas() { Laya.loader.load([ { url: "res/ui/UIComponents@atlas0.png", type: Loader.IMAGE }, { url: "res/ui/UIComponents.fui", type: Loader.BUFFER }, { url: "res/ui/FastBet.fui", type: Loader.BUFFER }, { url: "res/ui/Chips.fui", type: Loader.BUFFER }, { url: "res/ui/RankSelect.fui",...
来源: Laya_社区 发布时间: 20171204
...n.FILENAME_VERSION); function beginLoad(){ Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(null, onLoaded)); }*/ function updateItem(cell, index) { cell.setImg(cell.dataSource); } function onLoaded(): void { var rankList = new Laya.List(); //rankList.sc...
来源: Laya_社区 发布时间: 20180507
...源,加载成功后将UI界面添加到舞台上 Laya.loader.load("./res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ //实例化导出的UI类 var efc = new ui.TestPUI(); //添加到舞台 Laya.stage.addChild(efc); } ``` 运行后,按钮被按下时,动画效果...
来源: Laya2.0_文档 发布时间: 20210715
...源,加载成功后将UI界面添加到舞台上 Laya.loader.load("./res/atlas/ui.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //实例化导出的UI类 var efc:ui.EffectAnimationDemoUI = new ui.EffectAnimationDemoUI(); //添加到舞台 Laya.stage.addChild(efc); } }...
来源: Laya2.0_文档 发布时间: 20210715
...什么原因的吗?~~~~~~~~~~~~~ IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 module写法的模块无法使用,其他地方使用会报错 求让Particle2D的粒子能从最开始的地方播放的方法!! FBXTools.exe把模型拖上...
来源: Laya_社区 发布时间: 20171205
...载图集资源,加载成功后添加到舞台 Laya.loader.load("./res/atlas/ui.atlas",Handler.create(this,onLoaded)); } private function onLoaded():void { //实例导出的UI类 var efc:EffectAnimationDemoUI = new EffectAnimationDemoUI(); //添加到舞台 Laya.stage.addChild(efc); } } } ``` 运...
来源: Laya2.0_文档 发布时间: 20210715
...景色 Laya.stage.bgColor="#fffff"; //加载资源 Laya.loader.load("res/atlas/comp.json",Handler.create(this,completeLoad),null,Loader.ATLAS); } public function completeLoad():void { //原始位图 createImg(200,50); //红色滤镜 createRedFilter(); //创建发光滤镜位图**/ createGlowFilter()...
来源: Laya_社区 发布时间: 20170811
...你说的是更深的贴图资源,可以使用 Laya.loader.clearRes("res/atlas/img.png"); 2025-12-23 0 5 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Carr 相关问题 循环依赖不能运行 Circular dependency: 使用了u3D导出来...
来源: Laya_社区 发布时间: 20251223
...出错 如图: 正确的地址应该是 http://192.168.0.20:8900/bin/res/atlas/images/loading.png 附件 : --> 2017-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 cuixueying 赞同来自: 1、你的测试...
来源: Laya_社区 发布时间: 20170605
...c.destroy(); 之后对图集也进行下清理,Laya.loader.clearRes("res/atlas/flicker/image.json");就OK了 因为:destroy的时候movieclip把小图都清掉了,但是movieclip不知道你是用图集加载的,图集缓存文件还在,但是图集里的小图已经没有了 2017-06...
来源: Laya_社区 发布时间: 20170607