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

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

191. box2d引擎报错问题 [ 65%]

...laya.physics.js:430 Uncaught TypeError: Cannot read property 'GetType' of null     at box2d.b2Fixture.GetType (laya.physics.js:430)     at box2d.b2ContactFactory.Create (laya.physics.js:576)     at box2d.b2ContactManager.AddPair (laya.physics.js:586)     at box2d.b2BroadPhase.UpdatePairs (la...

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

192. 创建项目之后打开编辑模式出现错误 [ 64%]

...之后提示错误:Uncaught TypeError:Cannot read property 'addChild' of null 然后重新下载2.3.0版本,创建示例项目;    在编辑模式下同样出错:Uncaught TypeError:Cannot read property 'firstInit' of undefined   请问应该怎么解? 附件 : --> 2020-03-31 添加评...

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

193. 读URL parameter [ 64%]

... 在LayaAirIDE 怎么写呢? var url = window.location.href; var index = null; if(url.lastIndexOf('?') != -1) {     index = url.split('?')[1];     index= index.split('=')[1]; } 2018-07-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

194. android下layabox调用Laya.Texture2D.load报错 [ 64%]

...game/dev-loca ... 5668: TypeError: Cannot read property 'createTexture' of null 02-06 14:59:43.858  6545  6658 I LayaBox : var glTexture=this._source=gl.createTexture(); 02-06 14:59:43.858  6545  6658 I LayaBox :                                ^ 02-06 14:59:43.858  6545  6658 I...

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

195. 场景设置UIView的var属性不起作用 [ 64%]

...Data数据 修改#9999行 root=Laya.SceneUtils.createComp(uiView,root,view,null,tInitTool,!!view); 修改#10038行 Laya.SceneUtils.createComp=function(uiView,comp,view,dataMap,initTool,alterRoot=false){ 修改#10077行 tChild=Laya.SceneUtils.createComp(node,null,alterRoot?comp:view,dataMap,initTool)...

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

196. 官网示例摇一摇报错,就解决方案 [ 64%]

...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 微信小游戏编译报错 小游戏项目 加载有中文的json文件 报错 用了ByteArray的zlib.min.js后报错 runtime运行报错! 本地调试加载本地图片都报错 3d项目-unity添加物...

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

197. 在一个页面多放几个iframe,里面使用引擎,一般3-4个就报错了 [ 64%]

...1 恩 一个BIG工程,我测试将 window["mozAudioContext"] = null; window["AudioContext"] = null; window["webkitAudioContext"] = null; 好吧 可以利用这个来动态决定是否可用

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

198. localStorage如何判定其是否存在 [ 64%]

...tItem("gameid")){ } 这样写会报错 Cannot read property 'getItem' of null 会导致程序终止,我想在程序开始的时候进行一次判定,根据其gameid是否存在进行后续的逻辑判断 2017-05-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

199. Cannot read property 'toDefault' of undefined报错是什么原因 [ 64%]

...ight); // Laya.stage.scaleMode = Stage.SCALE_NOSCALE; infoText = "距离:null"; mySwitch = true; target = new BMap.Point(113.392307, 23.062487); createDom(); initMap(); createButton(); var successHandler = new Handler(this, updatePosition); var errorHandler = new Handler(this, onError); // 使用...

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

200. laya2.0中没有1.0的AtlasResourceManager对自动图集的管理有替代方案? [ 64%]

...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 laya2.0 3d物理碰撞穿透问题 问题状态 最新活动: 2020-03-08 20:59 浏览: 188 关注: 1 人

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