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

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

131. Cannot read property 'rayCast' of undefined [ 63%]

...s.scene.cannonPhysicsSimulation.rayCast(this.ray,out); if(out.succeeded) { console.log(111); } } } 附件 : --> web.rar 2020-09-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 程程 赞同来自: 问题解决...

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

132. 为何发生此类报错Uncaught TypeError: Cannot read property '_tf' of null [ 63%]

...ar Stage=Laya.Stage; var WebGL=Laya.WebGL; var config=Config; (function(){ console.log("运行程序。"); Laya.init(1280,720,WebGL); //设置适配模式 Laya.stage.alignH=Stage.ALIGN_CENTER; Laya.stage.alignV=Stage.ALIGN_MIDDLE; Laya.stage.scaleMode="showall"; Laya.Stat.show(); //设置屏幕为...

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

133. 【LIST无法拖动】参照官方实例做的 [ 62%]

...g.x = (list.width - paihangbang.fontSize * 3) / 2;         console.info(list.x + "---"+list.y + "---"+paihangbang.x + "---"+paihangbang.y + "---")         paihangbang.y -= (paihangbang.fontSize + 20);         paihangbang.color="#ffffff";          ...

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

134. destroy 报错 [ 62%]

...        floor1.destroy();                     console.log("destroy~~~~~");                 }             } 附件 : --> 2018-05-14 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

135. destroy 报错 [ 62%]

...        floor1.destroy();                     console.log("destroy~~~~~");                 }             } 2018-05-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

136. onCollisionEnter检测不到碰撞 [ 61%]

...找到 代码: public onCollisionEnter(collision:Laya.Collision):void { console.log("碰撞"); if (collision.other.owner === this.sphere){ ((this.owner as Laya.MeshSprite3D).meshRenderer.sharedMaterial as Laya.BlinnPhongMaterial).albedoColor = new Laya.Vector4(0.0, 0.0, 0.0, 1.0); } } 附件 : -->...

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

137. 移动端Laya.VideoTexture播放视频纹理会出现卡顿情况~如何解决? [ 61%]

...t fun = () => {             let dt = new Date()             console.log("=============>", (dt.getTime() - this.IndexFrame));             this.lbTips.text = this.lbTips.text + " " + (dt.getTime() - this.IndexFrame);             this.IndexFrame = dt.getTime();        ...

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

138. layaPlayer无法获取canvas.toDataURL数据 [ 61%]

...Base64("png", 0.92, base64Str => { base64Str = base64Str.split(",")[1]; console.log(base64Str); if(Laya.Browser.window.conch) { // App 分享 let brdige = common.utils.ConchUtils.getBridge(); brdige.call("share", base64Str); } }); 2019-09-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...

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

139. Laya2.3的promise有问题 [ 61%]

Laya2.3的promise有问题 连一个简单的 async test() { console.log('连打印都无法'); } 在微信小程序(真机)环境里面的打印都执行不下去,都报错, 模拟器和浏览器都是正常的, 我试过IOS和android都会报错,真机会报错,执行不进去 附件 : --> ...

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

140. LayaBox 出错啦,请把此信息截图给研发商 SimpleSingletonList [ 61%]

...t."; _add(element); element._setIndexInList(length++); } catch(err) { console.log("多点触控出了问题,强行异常处理:",err); } } /** * @private */ public function remove(element:ISingletonElement):void { try { var index:int = element._getIndexInList(); length--; if (inde...

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