大约有 753 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya_社区(549) Laya2.0_文档(76) Laya3.0_文档(31) Laya3.0_api(24) laya_api(23) Laya2.0_api(21) Laya2.0_示例(15) Laya_示例(14)
...istBg.visible = true; this.reqImage = this.iconImg; this.imgList.vScrollBarSkin = ''; this.imgList.selectEnable = true; this.imgList.array = listArr; this.imgList.renderHandler = new Laya.Handler(this, this.onRender); this.imgList.selectHandler = new Laya.Handler(this, this.onSelect); } onSelect(ind...
来源: Laya_社区 发布时间: 20190318
按钮加载皮肤丢失 废话不多少,直接上代码 先预加载 skinsSecond.push( { url:"allResources/qfbutton.png", type:Loader.IMAGE }); 然后就是一些和服务器交互的操作了,在接到某一条数据,需要用到资源的时候的代码; for (var i:Number = 0; i < allA...
来源: Laya_社区 发布时间: 20170320
...何在调试里面显示出资源。 控制台反馈:资源丢失 lose skin listPage/checkbox.png lose skin listPage/checkbox.png lose skin template/ButtonTab/btn_LargeTabButton_Left.png lose skin template/ButtonTab/btn_LargeTabButton_Middle.png [warn]Retry to load: listPage/bg_list.png [error]Fai...
来源: Laya_社区 发布时间: 20171025
..._downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler = new Laya.Handler(this, this.onMou...
来源: Laya_社区 发布时间: 20171202
..._downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler = new Laya.Handler(this, this.onMou...
来源: Laya_社区 发布时间: 20181112
...为true后,多选框的初始状态会变为保持选中的状态 纹理 skin 选择框的图像资源,设置后需要根据皮肤资源设置stateNum皮肤状态数 文本标签 label 多选框的文本标签 标签字体 labelFont 文本标签的字体 标签字体大小 labelSize 文本标签...
来源: Laya3.0_文档 发布时间: 20251010
...传框 // 程序入口 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
...onAwake(): void { console.log(this.owner.name) var skin = this.owner.getComponent(Laya.SkinnedMeshRenderer); let mat = skin.material; mat.stencilTest = Laya.RenderState.STENCILTEST_NOTEQUAL; mat.stencilWrite = true; mat.stencilR...
来源: Laya_社区 发布时间: 20231228
...tn2: Laya.Button; private btn3: Laya.Button; // 按钮皮肤资源 private skins: string = "atlas/comp/button.png"; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skins).then(() => { this.createBtn(); t...
来源: Laya3.0_文档 发布时间: 20251010
... QZONE 微信 fen0122 赞同来自: 解决了,在此之前 this.myTab.skin=''就可以了,略坑 2017-11-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 fen0122 相关问题 请问LayaAir中如何使图...
来源: Laya_社区 发布时间: 20171113