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

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

61. [LayaAir2]某些手机播放视频偶现崩溃,日志显示缓冲区被丢弃 [ 84%]

...偶现崩溃,日志显示缓冲区被丢弃 [SurfaceTexture-0-21301-0](this:0x74cf4b3800,id:0,api:3,p:559,c:21301) queueBuffer: slot 10 is dropped, handle=0x750dc86a80 [Debug][Video]IsPaused: true [SurfaceTexture-0-21301-0](this:0x74cf4b3800,id:0,api:3,p:559,c:21301) queueBuffer: slot 9 is dropped...

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

62. Error!,this class[Item] already exist: function Item(){ … } [ 84%]

Error!,this class[Item] already exist: function Item(){ … } 这是什么错误 Laya.class(Item, "Item", Box); 定义的类,能不能清除,或者判断类是否存在 2018-04-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

63. 子弹添加了colliderShape后onUpdate移动,destroy会报错“Cannot read property 'getWorldTransform' of null” [ 83%]

...rty 'getWorldTransform' of null” 发射时生成子弹: onFire() { if (this.isFire) { Laya.Mesh.load("fly2/fly3-bullet.lm", Laya.Handler.create(this, function (m) { let bullet = new Laya.MeshSprite3D(m); this.Sn.addChild(bullet); bullet.addComponent(BulletScript); var bulletCollider = bullet.add...

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

64. Socket连接不上(已解决) [ 83%]

...et连接不上(已解决) socket = new Socket(); socket.on(Event.OPEN, this, onSocketOpen); socket.connect("127.0.0.1", 8080); 照着官方例子,服务器显示连接上了,但onSocketOpen没调用到,而且socket的connected为false。 能帮忙看是什么原因么?   具体代码:...

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

65. 为啥我在批量removeself 会报错卡死 [ 83%]

...量removeself 会报错卡死 override public function removeSelf():Node { this.scaleX = 1; this.scaleY = 1; this.alpha = 1; this.pos(0,0); this.filters = []; if(selectImg != null) { selectImg.removeSelf(); } this.mouseEnabled = true; if(this.visible == false) { this.visible = true; } super.removeSe...

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

66. destroy 报错 [ 83%]

destroy 报错 for(let i = 1; i<= this.createCountList[floor] ; i++)             {                 let floor1:Laya.Sprite3D = this.scene.getChildByName("floor"+floor+i) as Laya.Sprite3D;                 if(floor1)                 {   ...

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

67. wx.getFileSystemManager is not a function [ 82%]

...orldTransformFunction is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function Laya3D初始化 window.wxMiniGame is not a function laya加载unity插件导出的场景 physics3D is not a function 浏览器运行提示TypeError: xxx is not a function ide导出ui...

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

68. 微信小游戏IDE加载位图字体,提示错误 [ 82%]

...onLoaded=function(data){  在 var bFont=new BitmapFont(); bFont.parseFont(this._data,data);之前加入 this._data = Utils.parseXMLFromString(this._data);就ok了 2018-05-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zh920627 相关...

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

69. __class is not defined [ 82%]

...s_BT_CONSTRAINT_ERP is not defined exports is not defined (js篇) Warning!,this class[MiniAdpter] already exist: Object {init: } 打包出来 code.js报错 laya is not defined 在android studio上运行ConchJNI.RunJS("JaveCallback.onHide()"),提示JaveCallback is not defined 为什么new不出Rect...

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

70. 报错 Warning!,this class[HBox] already exist: [ 82%]

报错 Warning!,this class[HBox] already exist:   附件 : --> 2017-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 wudi199553 赞同来自: 你这是重名了,所以报错 2017-11-03 0 2 分享 微博 QZ...

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