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

大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)

1241. HTMLDivElement中image标签多次赋值报错 [ 50%]

...我是这么改的: 在laya.html.js内938行加入             if(_$this.destroyed){                 return;             } 2018-12-26 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 @DT_ 相关问...

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

1242. 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 [ 50%]

...to._remove=function(index){         this.length--;         if (index!==this.length){             var end=this.elements[this.length];             this.elements[index]=end;             end._indexInCastShadowList=index;         }     } 201...

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

1243. [LayaAir3]Laya3.2.2版Spine 3.8,Spine2DRenderNode动画播放完毕后,playState返回不正确 [ 50%]

...(this.trackIndex); 此时 this._currentPlayTime 为非零,结果就是 if (this._currentPlayTime) return Spine2DRenderNode.PAUSED; 附件 : --> 2024-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox...

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

1244. Camera.viewportToRay中origin与direction相等问题 [ 50%]

...ast(this._ray, this._raycastHit); console.log(this._raycastHit.succeeded); if(this._raycastHit.succeeded) console.log(this._raycastHit.collider.owner.name); } GameManager.instance.mainCamera其实就是场景里唯一的相机(从Unity里导出的)但是屡次不能成功.后来我在调试的时候...

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

1245. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 49%]

... touchemoves:Array = evt.targetTouches;                     if(!touchemoves)break;                     for (j = 0, n = touchemoves.length; j < n; j++) {                         _this.initEvent(touchemoves[j], evt);                    ...

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

1246. Native 在iOS上支付失败的问题,及临时解决方法 [ 49%]

...接)中有明确提示 requestData参数:  The default value is nil. If requestData is not nil, your payment request will be rejected. --默认值为nil,如果requestData不是nil,您的支付请求将被拒绝。 目前我的解决方法是注释掉payment.requestData = pData这一行,...

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

1247. 同一个Graphics里面绘制超过20000个矢量rect的情况下,Uncaught Error: IBQuadrangle count(之前发起的问题不知道为什么找不到) [ 49%]

...t = 0; for(var i:int=0; i<200; i++) { for(var j:int=0; j<100; j++) { if(count == 10000) { var htmlCanvas:HTMLCanvas = a.drawToCanvas(width,height,0,0); var texture:Texture = new Texture(htmlCanvas); var b:Sprite = new Sprite(); b.graphics.drawTexture(texture); a.graphics.clear(true); a.destroy...

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

1248. layaAir1.7.16beta版本cavans下spine骨骼动画显示异常,layaAir1.7.14beta还是好的 [ 49%]

...改了那么几句代码,就出问题了,问题代码是BoneSlot.as的 if (currTexture && !Render.isConchApp && currDisplayData.type == 0 && currDisplayData.uvs)                     {                         currTexture = currDisplayData.c...

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

1249. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 49%]

... console.log(_fish.x, _fish.y, _fish.width, _fish.height, _fish.rotation); if (_fish.hitTestPoint(_fish.x, _fish.y)) { console.log("hittttttt"); } }); } } //程序入口 Laya.init(600, 400); this.onLoaded() function onLoaded(): void { //实例UI界面 var testUI: FishPonds = new FishPonds(); Laya.st...

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

1250. Laya.timer.loop 的优先级 [ 49%]

...lear(this,delete_); delete_desktop(1); } function delete_desktop(cut_out){ if(cut_out==1){ delete_majian() }; }; function delete_majian(){ game.bottom.removeChild(game.bottom.getChildAt(0)); // console.log(game.bottom.getChildAt(0)); }; Laya_Aaron • 2018-02-27 16:19 你用loop 删除东西是要...

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