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

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

431. 发布app(android)后,按后退键显示有问题 [ 52%]

...t) { isExit = true; Toast.makeText(this, "在按一次退出程序", Toast.LENGTH_SHORT).show(); new Timer().schedule(new TimerTask() { @Override public void run() { // TODO Auto-generated method stub isExit = false; } },2000); } else { // MobclickAgent.onKillProcess(MainActivity.this); int pid = an...

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

432. Laya.LocalStorage.getJSON空对象在微信小游戏中被处理为空字符串 [ 52%]

...触发,应该同时判断 if (equipDataArray === null || equipDataArray.length === 0)  这样在IDE和微信开发工具中就都可以正常运行了。 2019-09-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回...

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

433. TimeLine调用destroy报错&执行完成后回到起点 [ 52%]

...  报错信息: .max.js:12479 Uncaught TypeError: Cannot read property 'length' of null at TimeLine.__proto._update (HMain.max.js:12479) at TimerHandler.__proto.run (HMain.max.js:9196) at Timer.__proto._update (HMain.max.js:8951) at Stage.__proto.render (HMain.max.js:16932) at Stage.__proto._loop...

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

434. unity导出的3D动画模型,导入 laya环境报错: node._setParent is not a function [ 52%]

....getChildIndex(node);                 if (index !== this._children.length - 1) {                     this._children.splice(index, 1);                     this._children.push(node);                     this._childChanged();                 }         ...

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

435. list中加的button不能接收点击事件 求一个list中加button的demo [ 52%]

...ray<any> = [];         for(var i= 0 ;i< items.UserWareList.length;i++){             var itemList = new BagItem(items.icon,items.name,items.count);             itemList.pos(70,posY);             data.push(itemList);             posY = posY +...

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

436. 加载.ls场景文件,销毁场景,再加载同一场景,想恢复初始状态,结果报错【附Demo】 [ 52%]

...错【附Demo】 报错内容: Uncaught TypeError: Cannot read property 'length' of null     at Scene3D.__proto._activeHierarchy (laya.core.js:13721)     at Scene3D.__proto._onAdded (laya.core.js:13770)     at Scene3D.__proto._setParent (laya.core.js:13486)     at Scene3D.__proto._setParen...

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

437. Texture2D.setPixels会导致图片质量变差了,获取原生的pixels没有进行改动。怎么回事呢? [ 52%]

....source.bitmap.getPixels(); //console.log("0000000000000 == " + uint8Array.length); imageNode.source.bitmap.setPixels(uint8Array,0);   附件 : --> 2019-09-23 3 条评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么...

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

438. layaAir如何实现for循环加载多张图片,并且通过事件按比例缩小 [ 52%]

... var ape:Sprite = new Sprite;             ape.x=(apesCtn._childs.length)*(stageWidth/4)             var bl:Number=texture.width/texture.height             ape.graphics.drawTexture(texture,0,0,stageWidth/4,stageWidth/4/bl);             apesCtn.addChild(ape);    ...

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

439. HTTP以POST发送Byte字节流,服务器无法解析 [ 52%]

...//10.0.1.139:9000", buffBody.buffer, "post", "arraybuffer",null); } Byte的length长度输出为9 对面的JAVA服务器解析出来为16 我就算改成只writeByte一次,服务器解析出来大小也是8 我在send时传递的参数是byte这个类,还是调用byte.buffer这个属性 还是...

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

440. matter.js mouseconstraint在微信小游戏中无效 [ 52%]

...() {      var ret = parseInt(this.style.fontSize, 10) * this.innerHTML.length;      return Number.isNaN(ret) ? this.width : ret;      }      }, {      key: 'clientHeight',      get: function get() {      var ret = parseInt(this.style.fontSize, 10);      return Number....

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