大约有 1,796 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0044 秒)
Laya_社区(1183) Laya2.0_api(183) laya_api(162) Laya3.0_api(119) Laya2.0_文档(51) Laya_示例(41) Laya2.0_示例(35) Laya3.0_文档(22)
...引擎报错 mPlugin.game_plugin_init(3); runtime运行报错! 用了ByteArray的zlib.min.js后报错 本地调试加载本地图片都报错 问题状态 最新活动: 2018-10-27 16:12 浏览: 772 关注: 2 人 bigporker • 2018-10-27 16:16 感谢回复。请问什么时候能更新呢?群里...
来源: Laya_社区 发布时间: 20181027
...,O(∩_∩)O谢谢! //获取xml中RECORD下的节点 var recordItems:Array = hr.data.firstChild.children[0].children; //获取下标为0的id的节点 var recordId:XmlDom = recordItems[0]; //获取节点中的节点属性 var idStr:String = recordId.textContent; 2016-06-26 0 0 分享 微博 QZON...
来源: Laya_社区 发布时间: 20160626
...赞同来自: List点初始化函数就是通过数据驱动的,一个是array的数据驱动,另一个就是dataSource的数据驱动! 2017-02-14 0 3 分享 微博 QZONE 微信 hfeiop12 赞同来自: 那怎么通过 数据驱动 画格子呢 ? 2017-02-14 0 2 分享 微博 QZONE 微信 为...
来源: Laya_社区 发布时间: 20170214
...了, Texture 的drawto public function setTo(bitmap:Texture2D = null, uv:Array = null, sourceWidth:Number = 0, sourceHeight:Number = 0):void { 变成了Textrue2d了, 像以前1.x版本Textrue 还能用htmlcanvas,现在不能用了。而且直接强传入,会报错。 请问现在怎么样才...
来源: Laya_社区 发布时间: 20190624
...reRes方法清理atlas } 这个页面的资源 static ResList: Array<Object> = [ { url: "npc.json", type: Laya.Loader.JSON }, { url: "packatlas/uiatlasnew/talk.atlas", type: Laya.Loader.ATLAS } ]; 通过直接加载数组的形式...
来源: Laya_社区 发布时间: 20200915
...经实例化 this.heropanel.hScrollBarSkin = ""; let hasHeroArr:Array<any> MsgFactory.inst.heroMessasge.getTypeHeroList(HeroMessage.HERO_TYPE_ALL,2); this.herolist.repeatX = hasHeroArr.length; this.herolist.dataSource = hasHeroArr; this.herolist.scrollTo(8) 大体是这样的
来源: Laya_社区 发布时间: 20171227
...的时候是一个Vector3类型的值,ide从.shader里面解析到的是Array类型导致赋值失败了;我们不建议您将引擎内置的状态相关的参数设置到uniformMap里面,您提到的别的stencil参数没问题是因为其他的stencil设置的值为int类型,可以直接...
来源: Laya_社区 发布时间: 20231107
...有的资源都是远程加载。 我现在是这样使用的: var arr:Array=[游戏所有的资源列表]; URL.bashPath="https://host/url/"; MiniAdpter.nativefiles=[ "res/media/", "prefab/bb.json" ] Laya.Loader.load(...../); 2019-09-02 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190902
...ode.js:630:29) at http://127.0.0.1:52880/game/code.js:14:71 at Array.forEach (<anonymous>) at Object.__init (http://127.0.0.1:52880/game/code.js:14:36) at http://127.0.0.1:52880/game/code.js:21112:7 at http://127.0.0.1:52880/game/code.js:21113:3 at require (...
来源: Laya_社区 发布时间: 20180504
...创建模型过多导致内存溢出 Uncaught abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (...
来源: Laya_社区 发布时间: 20191028