大约有 337 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
Laya_社区(226) Laya2.0_文档(37) Laya2.0_api(21) Laya3.0_api(21) laya_api(19) Laya3.0_文档(8) Laya2.0_示例(3) Laya_示例(2)
... 2017-02-25 12:24 你说的这6张图片是通过loader加载的,还是image图片通过skin方式自己加载的? anran • 2017-02-25 12:26 @Laya_XS:是image图片通过skin方式自己加载的 anran • 2017-02-25 12:28 @Laya_XS:这6张单独的图片在IDE里有一个unpack.json,是不是...
来源: Laya_社区 发布时间: 20170225
怎么加载网络上的图片 比如http://image.xxx.com/1.png,怎么加载到精灵显示吗 2017-02-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: sprite你可以用loadImage,image...
来源: Laya_社区 发布时间: 20170220
...要使用的图片拖入skin了,可否在程式里面知道现在这个Image使用的是一般图片或是图集(Atlas)? 附件 : --> 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自...
来源: Laya_社区 发布时间: 20180323
...ex: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes("config/i18n.json"); text_info.text = i18n[`tips_text$text_i18n$${1101 + index}`][ConfigInfo.l...
来源: Laya_社区 发布时间: 20171202
...ex: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes("config/i18n.json"); text_info.text = i18n[`tips_text$text_i18n$${1101 + index}`][ConfigInfo.l...
来源: Laya_社区 发布时间: 20181112
...; case 2: bb=4; break; case 3: bb=1; break; case 4: bb=3; break; } var img:Image = cell.getChildByName("img1") as Image; img.skin ="battle/xuanshangyu/Image_"+aa+"00"+bb+".png"; 一个list中有4张图片,图片随机从id1002,2004,3001,4003中随机选一张,但是这样的话一个list中有4...
来源: Laya_社区 发布时间: 20170616
...就设置物件visible的属性 假设我的list裡面的项目是由一个Image跟一个Label构成 那麽我的做法是这样var arr=[]; arr.push({Image:"url",Label:"text"}); list.array=arr; 我现在想在push当中就设置Image的visible属性为false 以简化我的码 请问有可行办法...
来源: Laya_社区 发布时间: 20170822
...入口 class GameMain { private btn: Laya.Button; private skin: string = 'images/button.png'; constructor() { Laya.init(200, 300); Laya.loader.load(this.skin, Laya.Handler.create(this, () => { this.btn = this.createBtn(this.skin); this.btn.on(Laya.Event.CLICK, this, this.onClick); })); } /** * ...
来源: Laya_社区 发布时间: 20170511
...ode <View width="750" height="225" editorInfo="compId=1"> <Image y="0" x="0" skin="home/image_touxiangkuang.png" editorInfo="compId=5"/> </View> 附件 : --> 2017-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20170809
...ex: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes("config/i18n.json"); text_info.text = i18n[`tips_text$text_i18n$${1101 + index}`][ConfigInfo.l...
来源: Laya_社区 发布时间: 20180724