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

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

171. 2.3.0beta vivo 多点触控报错. [ 71%]

..." has in SingletonList.";                 return;      this._add(element);      element._setIndexInList(this.length++);      } 2019-10-21 0 2 分享 微博 QZONE 微信 155*****359 赞同来自: 请问vivo的调试怎么捕获这个异常信息呀? 2019-11-23 0 0 分享...

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

172. CharacterController move移动 报错_setWalkDirection [ 71%]

...s:10983)   添加后 CharacterController , 使用 move 移动就报错 this.masterSp.addComponent(Laya.CharacterController); //添加组件   this.character.move(new Laya.Vector3(0 , 0 , 1))//移动,开始报错 2020-10-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

173. https://ask.layabox.com/question/13181官方Demo运行不起来 [ 71%]

...一旦代码改正确,就有错误了。 gameSubContextThirdScriptError this._canvasTransform.identity is not a function;at requestAnimationFrame callback function TypeError: this._canvasTransform.identity is not a function     at Stage.__proto.setScreenSize (http://127.0.0.1:60853/game/su ... 3...

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

174. 官方Demo摇杆控制有bug [ 71%]

...或删除一下,Roker.ts里的rockerMove方法里的如下代码:   this._currentMouse.x = Math.round(e.touchPos.x / Laya.stage.clientScaleY); this._currentMouse.y = Math.round(e.touchPos.y / Laya.stage.clientScaleY); this.currRockerbox.globalToLocal(this._currentMouse, false); 改为如下方...

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

175. app构建后在真机中运行报错 [ 71%]

...     function Prefab(){         /**@private */         this.json=null;     }      __class(Prefab,'laya.components.Prefab');     var __proto=Prefab.prototype;     /**     *通过预制创建实例     */     __proto.create=function(){         i...

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

176. HIERARCHY_LOADED函数不回调 [ 71%]

HIERARCHY_LOADED函数不回调 this.sceneP = Laya.stage.addChild(Laya.Scene.load(name)) as Laya.Sprite3D; //this.sceneP.transform.setTranslate(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3...

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

177. 陀螺仪和加速计使用问题 [ 71%]

...仪和加速计使用问题 Laya.Gyroscope.instance.on(Laya.Event.CHANGE,this,this.onDeviceorientation);  Laya.Accelerator.instance.on(Laya.Event.CHANGE,this,this.onMotoin); 官网陀螺仪和加速计例子中的上面两句运行时都报 Cannot read property 'instance' of undefined 的错误 附...

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

178. linux系统运行layaair-cmd报错 [ 71%]

...运行layaair-cmd compile 后报下面的错误。   sp.stdout.on("data", this.emitStdout.bind(this));           ^   TypeError: Cannot read property 'on' of undefined     at LayaProjectCompiler.compile (/usr/lib/node_modules/layaair-cmd/compile_project.js:70:14)     at new LayaProjectComp...

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

179. 2.0 Beta3版本中,runtime脚本的的问题 [ 71%]

... 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: /*layaMaxUI.ts  *This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; export module ui { export class BGPageUI extends View { ...

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

180. drawToCanvas真机资源无法释放 [ 71%]

... 2018-12-19 0 5 分享 微博 QZONE 微信 大林 赞同来自: var htmc = this.paper.displayObject.drawToCanvas(this.paper.displayObject.width, this.paper.displayObject.height, 0,0); htmc.destroy(); --------》     __proto.destroy=function(){         this._ctx && this._ctx.destr...

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