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

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

131. [LayaAir3]clickHandler只会执行一次,之后点击不再触发 laya.3.0.9 [ 58%]

...回复 shiyang 赞同来自: Laya.Handler.create(this,this.onClickCreate,null,false) 2023-12-21 0 0 分享 微博 QZONE 微信 Laya_Fred 赞同来自: layabox 、勤 您好,您可以设置handler的create方法的参数内容,设置第四个参数once为false可以触发多次,不传参默认...

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

132. android下layabox调用Laya.Texture2D.load报错 [ 58%]

...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

133. 预加载结束之后还是报lose skin [ 58%]

...create(this, this.onAssetLoaded),Laya.Handler.create(this, this.onLoading, null, false)); } private onLoading(progress: number): void { console.log("加载进度: " + progress); } private onAssetLoaded(texture:Laya.Texture){ console.log("加载结束"); } Log输出内容 Warning!,this class[MiniAdpt...

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

134. laya(发布es5)下如何使用promise,我看了论坛有打包iOS运行报错的问题 [ 58%]

...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 项目分包后, 运行出错 问题状态 最新活动: 2018-04-24 10:49 浏览: 1541 关注: 2 人 ant2004eq • 2018-04-25 22:12 你是官方的吗?我浏览器上用了没问题啊?

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

135. shader 问题[关闭] [ 58%]

...       context.ctx.setIBVB(x, y, this.iBuffer, this.vBuffer, this.iNum, null, this.customeShader, this.shaderValue, 0, 0)     } 1.如果我要 动态的,比如随时间改变他 就在customRender 里直接改变 实例的值就可以了? 2. 这里也没说明 如果我要增加 新的 unifor...

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

136. A星寻路解决方案 [ 58%]

...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 Laya Native环境下如何生成二维码?官网提供的方案只能在浏览器下运行。因为qrcode.js依赖浏览器环境。网上翻遍了资料,没找到解决方案。 五子棋坐标点的...

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

137. 加载.lh文件 运行后黑屏 无法显示 [ 58%]

...te twoFirst:boolean; constructor(){         super(); this._scene = null;      this._text = null;         this._camera = null;         this.rotation = new Laya.Vector3(0, 0.01, 0);      this.lastPosition = new Laya.Vector2(0, 0);      this.distance = 0.0;      ...

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

138. Array buffer allocation failed [ 58%]

...现 JS源文件:libs/laya.core.js 行号:23890 列号:21 名称:null   此bug我们自己测试不出来, 全靠后台日志搜集。  但是每天都有几万个该错误,影响几百个用户。 请问官方有遇到过这种错误吗? 或者在哪里解决? 可能是什么原...

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

139. 设置transform.localRotation之后,就不能再使用transform.rotate了 [ 57%]

..._projectionViewWorldUpdateLoopCount: -1, _projectionViewWorldUpdateCamera: null…} bom2.transform.worldMatrix Matrix4x4elements: Float32Array[16]0: 0.85106498003005981: 02: 03: 04: 05: 0.85106498003005986: 07: 08: 09: 010: 0.851064980030059811: 012: 331.600006103515613: -5.099999944384835e-1414: -3...

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

140. 新版版2d粒子问题?同样的代码,LayaAir IDE 2.1.0版本正常,LayaAir IDE 2.2.0beta2版本报错 [ 56%]

...        partIns.y = Laya.stage.mouseY;             }), null, Laya.Loader.JSON);         })   错误信息:TypeError: Failed to execute 'attachShader' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLShader'   2019-08-08 添加评论 免费帖 --> 分享 ...

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