• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 22 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0035 秒)

1. socket大型项目回调 [ 100%]

...ew Laya.Byte(); // this.socket.input.readBytes(byte); if (event instanceof ArrayBuffer){ var byte:Laya.Byte = new Laya.Byte(event); this.socket.input.clear(); this.processPackage(this._package.decode(byte)); } } private sendMessage(reqId, route, msg) { var byte:Laya.Byte; // var msgbuffer = Protocol...

来源: Laya_社区 发布时间: 20180119

2. list 下 生成图片模糊 [ 98%]

...个list }, _render_bigList: function (cell, idx) { var data = this.bigList.array; if (idx >= data.length) { return; } cell.removeChildren(); var root = cell.getChildByName('root'); if (!root) { root = new Sprite(); root.pos(0, 0); root.name = "root"; cell.addChild(root); } 。。。。。 生成...

来源: Laya_社区 发布时间: 20170324

3. 为什么这个图片还是随机切换不了,新手求帮忙 [ 97%]

...能否进行翻转? 图片添加点击事件 有的不生效 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 本地调试加载本...

来源: Laya_社区 发布时间: 20170111

4. 图片显示异常 [ 93%]

...) }); }) // console.log("表的数据:", JSON.stringify(data)); listNode.array = data; } 2020-08-05 0 2 分享 微博 QZONE 微信  赞同来自: 这四个图片都是已经加载好了的, 但是第二张图就显示成纯白色的图了 2020-08-05 0 0 分享 微博 QZONE 微信 kylin 赞同...

来源: Laya_社区 发布时间: 20200805

5. list组件改变位置后在改变数据源的长度,会导致index超过数据源长度 [ 91%]

...自: private onClick(e: Laya.Event) {     this._data = [1];   this.list.array = this._data; this.list.y = 220; this.list.height = 300;   }   代码这么写就好了 2019-09-19 0 1 分享 微博 QZONE 微信 Laya新用户 赞同来自: 这2行换位置也可以解决问题 2019-09-19 0 0 分享...

来源: Laya_社区 发布时间: 20190919

6. 部分IOS机型在加载mp3音频文件时出错,资源加载异常 [ 90%]

...化的时候加载了图片和音频资源,加载方式如下: var resArray: Array<any> = [             { url: "res/atlas/Images.atlas", type: Laya.Loader.ATLAS },                      { url: "Images/BG_Gray.png", type: Laya.Loader.IMAGE },         ...

来源: Laya_社区 发布时间: 20191030

7. ios下没有办法强制全屏,横屏,地址栏仍然存在 [ 90%]

...题 如何判断横屏竖屏 创建动效模板 可能存在bug 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 【BUG备忘录】...

来源: Laya_社区 发布时间: 20170203

8. layaair打包app文件未打包进去问题 [ 88%]

...文件,或者文件读取失败,请检查后重新编译。 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 问题状态 最新...

来源: Laya_社区 发布时间: 20170109

9. [LayaAir3]脚本上的参数全部消失 [ 88%]

...发起人 仓颉 相关问题 2.0 drawTexture color参数无效 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 怎样获取浏览...

来源: Laya_社区 发布时间: 20240201

10. list方法onSelect失效 [ 87%]

...mgList.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(index) { this.reqImage.skin = listArr[index].img.skin; if (de...

来源: Laya_社区 发布时间: 20190318