大约有 393 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)
Laya.stage.bgColor = null 时会报错 舞台的背景颜色,默认为黑色,null为透明。 但设为null会报错 附件 : --> 2017-08-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 luowende 赞同来...
来源: Laya_社区 发布时间: 20170830
TiledMap通过名字获得MapLayer怎么都是Null 地图已经绘制出来,有两个层,想获得其中叫Map的层,代码如下 var layer = this.tilemap.getLayerByName('Map'); 获得的layer 对象为null 层的信息如图 附件 : --> 2018-11-20 添加评论 免费帖 --> 分享 微博 QZ...
来源: Laya_社区 发布时间: 20181120
LayaPlayer android下layabox调用Laya.Texture2D.load报错 看源码是WebGL.mainContext为空,请问会是配置问题,还是某种支持问题吗? (PS:: h5浏览器运行是正常的) 报错堆栈: 02-06 14:59:43.858 6545 6658 I LayaBox : alert=http://10.0.1.72/game/dev-loca ... 566...
来源: Laya_社区 发布时间: 20180206
... 提示找不到 btCollisionObject_create Uncaught TypeError: Cannot read properties of undefined (reading 'btCollisionObject_create') at pi._onAdded (laya.d3.min.js:1:600219) at xr._addComponentInstance (laya.core.min.js:1:250112) at xr.addComponent (laya.core.min.js:1:251056) ...
来源: Laya_社区 发布时间: 20230401
加载.lh文件报错 Uncaught TypeError: Cannot read property 'props' of undefined at Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:15158) at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:15252) at EventHandler.__proto.runWith (laya.core.js:1126) at Loader.__proto.event (laya.core.js...
来源: Laya_社区 发布时间: 20181015
unity导出的场景,相机节点找不到,移动和属性设置都做不了 var scene:Scene=Scene.load("LayaScene_Main/Main.ls"); Laya.stage.addChild(scene); camera = Laya.stage.getChildByName("Main Camera") as Camera; ....... camera.viewportPointToRay(point, ray); 提示错误:Cannot read ...
来源: Laya_社区 发布时间: 20180415
底层渲染报错,原因未知,偶现 TypeError: Cannot read property '_getSource' of null at Context.drawTriangles (laya.core-56a0e.js:1:260080) at DrawTrianglesCmd.run (laya.core-56a0e.js:1:288118 at Graphics._renderAll (laya.core-56a0e.js:1:300421) at RenderSprite.transform_drawLayaGL [as _...
来源: Laya_社区 发布时间: 20230714
新版unity插件导出场景加载报错 laya 2.0 beta5 unity插件 导出场景预览报错,加载报错 Uncaught TypeError: Cannot read property '_vertexBuffers' of null at MeshRenderStaticBatchManager.__proto._compare (laya.d3.js:25390) at MeshRenderStaticBatchManager.__proto._partition (laya...
来源: Laya_社区 发布时间: 20181218
场景或者View中加入编辑好的2d粒子,加载场景或者view播放的时候会报错误 报错如下: TypeError: Cannot read property 'sv' of null preload.js:55 at Particle2D.__proto.customRender (file:///E:/%E4%B8%89%E6%B6%88/%E5%AE%A2%E6%88%B7%E7%AB%AF/ThreeDismiss2.0/bin/libs/laya.pa...
来源: Laya_社区 发布时间: 20181126
this.btClose1.on(Laya.Event.CLICK,null,this.close);报错 this.btClose1.on(Laya.Event.CLICK,null,this.close); 这句代码报错 附件 : --> 2017-06-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueyin...
来源: Laya_社区 发布时间: 20170619