大约有 789 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0048 秒)
Laya_社区(762) Laya3.0_文档(5) laya_api(4) Laya3.0_api(4) Laya2.0_示例(4) Laya2.0_api(4) Laya2.0_文档(3) Laya_示例(3)
...时,用mouseHandler;你可以使用,自定义数据结构来填充list.array,会相当方便;填充item时,不需要所有属性都跟你的数据结构匹配上,多余的属性即便未设置也不会引发异常;list外面嵌套plane的话,能解决很多问题;list数据结构更新...
来源: Laya_社区 发布时间: 20180407
... 分享 微博 QZONE 微信 Soul 赞同来自: list组件 设置name 赋值array name名:url 2018-05-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 bohan 相关问题 有什么容器能够实现当子元素达到显示上限后自动...
来源: Laya_社区 发布时间: 20180518
... 发起人 157*****121 相关问题 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 富文本下划线绘制bug layaAir,图片在普通尺寸和放大2倍的情况下,...
来源: Laya_社区 发布时间: 20180510
...es/ui/listskins/4.jpg"); data.push("../../res/ui/listskins/5.jpg"); } list.array = data; } function updateItem(cell, index) { cell.setImg(cell.dataSource); } function onSelect(index) { console.log("当前选择的索引:" + index); } })(); 2018-07-31 添加评论 免费帖 --> 分享 微博 ...
来源: Laya_社区 发布时间: 20180731
...法播放,U3D和1.7.*都没问题 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? dialog 自定义关闭效果,效果执行完,弹窗无...
来源: Laya_社区 发布时间: 20180702
...er(); return _I; } private static var socket:Socket=null; private var list:Array=; public function Connect(url:String):void { socket=new Socket(); socket.on(Event.OPEN, this, onSocketOpen); socket.on(Event.CLOSE, this, onSocketClose); socket.on(Event.MESSAGE, this, onMessageReveived); socket.on(Even...
来源: Laya_社区 发布时间: 20170724
...this, this.onMouse) } onOpened(param: any) { super.onOpened(param); let imgArray = ; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as ...
来源: Laya_社区 发布时间: 20171202
...mage}, m_label:allEquipArr[i].amount.toString()}); } } this.otherItem_list.array = data; //单元格鼠标事件处理函数 this.otherItem_list.mouseHandler = new Handler(this,otherItem_listRender); 是这样子的.我从服务端拿到数据,然后将数据直接传到UI拼接好的otherItem_list...
来源: Laya_社区 发布时间: 20180321
...像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Sprite globalScaleX : Number[read-only] 获得...
来源: Laya2.0_api 发布时间: 20190513
... new Laya.Handler(this, UpdateMarketItem); Laya.stage.addChild(list); list.array = that._items;updateitem代码如下: function UpdateMarketItem(cell, index) { // {id:1,name:"10金豆-测试",price:0.01,title:"10金豆-测试",desc:"测试",balance:10,gift:0,imgPath:"res\\common\\BalanceSellDlg\\x...
来源: Laya_社区 发布时间: 20170422