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

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

171. Cannot read property 'load' of null [ 91%]

LayaAir引擎 Cannot read property 'load' of null 查了断点,看到Laya.loader是null,为什么会出现为null的情况?  代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static...

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

172. 发布微信小游戏,报错Cannot read property 'events' of undefined [ 91%]

发布微信小游戏,报错Cannot read property 'events' of undefined 项目发布后报错,自己的项目用的1.7.16 下载了官方的实例发布后的code跟自己的code比对了下··对应位置的代码是不一样的, 同时我将项目的引擎升级到1.7.20,依然在报错...

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

173. 使用高度图的时候 Cannot read property 'width' of undefined [ 91%]

使用高度图的时候 Cannot read property 'width' of undefined var terrainSprite = Laya.MeshTerrainSprite3D.createFromMeshAndHeightMap(terrain.meshFilter.sharedMesh, texture, 45.58879852294922, -45.58879852294922); //报错:Cannot read property 'width' of undefinedDemo见附件。   附件 :...

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

174. laya.d3.graphics.Vertex.VertexPositionTexture0 [ 91%]

...点结构。 Public Properties PropertyDefined By  position : Vector3[read-only] VertexPositionTexture0  textureCoordinate0 : Vector2[read-only] VertexPositionTexture0  vertexDeclaration : VertexDeclaration[read-only] VertexPositionTexture0Public Methods  MethodDefined By  VertexPositionTe...

来源: Laya2.0_api 发布时间: 20190513

175. Cannot read property 'rayCast' of undefined [ 91%]

Cannot read property 'rayCast' of undefined export default class indexscene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let conf...

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

176. TypeError: Cannot set property 'material' of undefined [ 91%]

...udFlame 相关问题 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined Cannot read property 'displayObject' of null Uncaught TypeError: Cannot read p...

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

177. 播放swf动画的时候,会出现 Cannot read property 'dir' of undefined崩溃 [ 91%]

播放swf动画的时候,会出现 Cannot read property 'dir' of undefined崩溃 这个是出错信息 this.basePath=this._atlasPath?Loader.getAtlas(this._atlasPath).dir:this._url.split(".swf")[0]+"/image/";    我们采用的播放模式是this.effectMovieClip.load(effectsPath,true);  effects...

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

178. laya.d3.component.animation.CameraAnimations [ 91%]

...ean = true叠加模式。CameraAnimations currentAnimationClipIndex : int[read-only] 获取播放器的动画索引。 KeyframeAnimations currentFrameIndex : int[read-only] 获取播放器帧数。 KeyframeAnimations destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Bo...

来源: laya_api 发布时间: 20170603

179. 2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null [ 91%]

2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null 上个帖子点下面确认发起后哪也找不到了,很奇怪,再发一次。 上面截图来自 Render 的rinitRender  方法 总返回null 已上传附件 附件 : --> wxgame.zip 2022-06-16 添加评论 ...

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

180. laya.d3.component.animation.RigidAnimations [ 91%]

...ted Public Properties PropertyDefined By currentAnimationClipIndex : int[read-only] 获取播放器的动画索引。 KeyframeAnimations currentFrameIndex : int[read-only] 获取播放器帧数。 KeyframeAnimations destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Bo...

来源: laya_api 发布时间: 20170929