大约有 427 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
...ltPhysicsMemory'] = 30; Laya3D.init(GameConfig.width, GameConfig.height); console.log(window.Physics3D) ``` 分析Physics3D里面的几个变量 发现内存占用超大. HEAP8,HEAPU8 这2个对象是同一个么. 都是30M字节长度数组. 而且内容是重复的. 现在再优化内存. 看...
来源: Laya_社区 发布时间: 20190612
...????底层对象池没有做好? v.pos(nextPost.x, nextPost.y) console.log(nextPost, v.x, v.y) console.log(v) 附件 : --> 2018-05-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Nothing 赞同来...
来源: Laya_社区 发布时间: 20180506
调用Laya.Geolocation,程序卡死 if (!Laya.Geolocation.supported) { console.log(11) this.txt.text = "11"; }else{ console.log(3333) this.txt.text = "22"; } 代码运行到这里就不往下运行 了,控制台也不输出,什么问题? 2018-03-14 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20180314
...t;undefined") { friendRankList.destroy(); delete (friendRankList); // console.log(friendRankList); } friendRankList = new FriendRankListView(); // friendRankList.visible =false Laya.stage.addChild(friendRankList); var dataT = []; data.forEach((item, index) => { // console.log(item) var cupIm...
来源: Laya_社区 发布时间: 20180516
...w Function(args[0], args[1], args[2]); var t = Function.apply(null, args); console.log( f(1,3) ); console.log( t(1,3) ); 这两个函数在Layabox开发时的目的都是生成一个不确定参数的函数,但导出到微信时Function会调用到其它函数中,请问怎么解决: 附件 ...
来源: Laya_社区 发布时间: 20181031
... // } else { // console.error("resources is null,path:{0}", dPath); // } Laya.loader.clearRes(dPath); } Laya.loader.clearRes resource.dispose 附件...
来源: Laya_社区 发布时间: 20180320
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 如何把本地的svg文件读取到内存里,如何画在画布上 PC上浏览器的内存和手机QQ浏览器或者手机Chrome浏览器的内存相差好...
来源: Laya_社区 发布时间: 20200616
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 如何获取图片每个像素点的RGB? 问题状态 最新活动: 2017-04-14 ...
来源: Laya_社区 发布时间: 20170414
...ode(loginReq).finish(); var de_loginProto= LoginReqCls.decode(loginProto); console.log('c : ' + de_loginProto['channel']); console.log('a : ' + de_loginProto['msg']); 输出结果是: c : 2 a : undefined 为什么 呢? msg为空? 2017-11-05 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20171105
...Move extends Laya.Script { constructor() { super(); } onTriggerEnter() { console.log("111"); } onTriggerStay() { console.log("111"); } onTriggerExit() { console.log("111"); } onEnable() { } onDisable() { } } //这是两个类,直接可以就不会发生触发效果,什么都不输出,还...
来源: Laya_社区 发布时间: 20190314