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

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

161. Laya.Geolocation使用报错 [ 72%]

...bleHighAccuracy = true; Laya.Geolocation.watchPosition(Laya.Handler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); 报错如下: TypeError: Cannot set property 'enableHighAccuracy' of undefined 会出现无法找到Laya.Geolocation的各类属性错误,请问该如...

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

162. Laya.SoundManager.playSound报错 [ 72%]

...来自: SoundManager.playSound("../../res/sounds/btn.mp3", 1, new Handler(this, onComplete));  SoundManager.playMusic("../../res/sounds/bgm.mp3", 1, new Handler(this, onComplete));   https://layaair.ldc.layabox.co ... eDemo 2018-06-14 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 更新...

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

163. 真机调试 开启子域后 提示出现window is not defined [ 72%]

...      ↓按钮回调 绘制子域到工程 bt_rank_call_back(body){   this.bt_rank.CALL_BACK = function () { console.log("排行榜") var player_rank = body.wxData.get_canvas_4_code("SHOW_PLAYER_RANK",0) var rankTexture = new Laya.Texture(sharedCanvas); rankTexture.bitmap.alwaysChange = true; v...

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

164. 技术文档中的示例js运行报错 [ 72%]

...集,实现遮罩效果 里边的示例运行报错 Uncaught TypeError: this.setTo is not a function(function () { const Loader = Laya.Loader const Handler = Laya.Handler (function () { Laya.init(1136,640) Laya.stage.bgColor="#fff" Laya.loader.load('./../bin/res/atlas/res.atlas', Handler.create(th...

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

165. collider脚本当前帧销毁对象报错修复了吗? [ 71%]

...对象错误), //因此延迟一帧以销毁 Laya.timer.frameOnce(1, this, function () { this.weapon.destroy(); });   这个延迟一帧的bug修复了吗? 目前用到的直接销毁还是会报错,不知道是不是我逻辑问题。 谢谢! 2018-03-12 添加评论 免费帖 --> 分享 ...

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

166. Uncaught TypeError: Class constructor Component cannot be invoked without 'new' [ 71%]

... 'cursor' of undefined错误 Laya.GlowFilter is not a constructor Warning!,this class[MiniAdpter] already exist: Object {init: } 问题状态 最新活动: 2020-06-13 07:20 浏览: 723 关注: 2 人

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

167. this.scene.physicsSimulation.rayCastAll 报错 [ 71%]

this.scene.physicsSimulation.rayCastAll 报错 this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.instance.mouseY; //产生射线 this.camera.viewportPointToRay(this.point,this.ray);   /// Laya.PhysicsSimulation.rayCast(this.ray, this.outHitResult, 30, 0) //拿到...

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

168. 构建andorid工程后,在AndoridStuido中模拟器调试运行出现如下问题,然后打不开APP [ 71%]

.../com.mygame.Shjy3Android" WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix. pkg: /data/local/tmp/com.mygame.Shjy3Android Success Launching application: com.mygame.Shjy3Android/demo.MainActivity. DEVICE SHELL COMMAND: am start -D -n "com.mygam...

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

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

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