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

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

331. 添加组件PhysicsCollider 时报 Cannot read property 'btCollisionObject' of undefined [ 89%]

...nt(PhysicsCollider)as PhysicsCollider; 时报错了,报错如下 preload.js:55 at PhysicsCollider.__proto._onAdded (file:///E:/ycyheroH5/ycyZYWZW/Client/bin/js/bundle.js:79400:29) at SkinnedMeshSprite3D.__proto._addComponentInstance (file:///E:/ycyheroH5/ycyZYWZW/Client/bin/js/bundle.js:43450:8) a...

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

332. bug,ChainCollider.points第二次设置,会报错! [ 89%]

...ox2d.b2Assert (file:///E:/Develop/LayaProgram/test3d/bin/libs/laya.physics.js:38:57) at box2d.b2ChainShape.CreateChain (file:///E:/Develop/LayaProgram/test3d/bin/libs/laya.physics.js:348:98) at ChainCollider.__proto._setShape (file:///E:/Develop/LayaProgram/test3d/bin/libs/laya.physics.js:3285:63) a...

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

333. HTMLDIVElement设置innerHTML时报错 [ 89%]

...l.innerHTML = ''; }, 300);此问题是由于在新版中改变了laya.html.js的HTMLDivElement中width的set方法 之前的版本中,set方法为/** *获取对象的宽 */ __getset(0,__proto,'width',function(){ if (this._width)return this._width; return this.contextWidth; },[b]_super.prototype._$...

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

334. laya发布vivo小游戏失败 [ 89%]

...8-18 0 2 分享 微博 QZONE 微信 闲云&野鹤 赞同来自: 把nodejs版本降到11及以下试试吧 2020-08-19 0 1 分享 微博 QZONE 微信 叔年心~厌世 赞同来自: 在这 新建文本文档.zip 2020-08-24 0 0 分享 微博 QZONE 微信 157*****593 赞同来自: 你这个是全...

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

335. 关于laya图片资源缓存的问题 增量更新文件缓存 [ 89%]

...(function(){ return through.obj(function (file, enc, cb) { staticVersion = JSON.parse(file.contents.toString()) let content = `export default ${file.contents.toString()}` file.contents = new Buffer(content) this.push(file) return cb() }); }()) .pipe(gulp.dest('.')) }) /** 图集资源添加时间戳...

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

336. Laya.loader.create 报错, 升级2.0.2后 游戏卡顿 [ 89%]

...addReference' of undefined     at t.<anonymous> (https://usr/game.js:49:8301)     at e.n._parse (https://usr/game.js:66:1995)     at Function.t._createNodeByJson (https://usr/game.js:46:14129)     at Function.t._createNodeByJson (https://usr/game.js:46:13903)     at Function.t._...

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

337. js执行once时如何改变执行域 [ 89%]

js执行once时如何改变执行域 _proto.onMsgCallBack = function () { this.kwxSocket.OnMessageCallBack=function(msg){ console.log("回调"+msg); var dataTemp = JSON.parse(msg); console.log(dataTemp.d); kwxGame.prototype.cardData = dataTemp.d; [b][i]Laya.timer.once(1000, this, this.onOncePiao); ...

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

338. 自动旋转后残影 [ 89%]

...撞检测rect没有旋转 2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了? 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? 文本如何自动换行 IDE通过.ui自动生...

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

339. laya2.0用FlashDevelop调用编译,总是打开bin\h5\index.html [ 89%]

...却有问题,每次打开的页面都是bin\h5\index.html .laya/launch.json:{ "version": "0.2.0", "configurations": [ { "name": "layaAir", "type": "chrome", "request": "launch", "file": "${workspaceRoot}/bin/index.html", "runtimeExecutable": "${execPath}", "useBuildInServer": true, "sourceMaps":...

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

340. 分享-js资源进度加载 [ 89%]

分享-js资源进度加载 var ui_Socket: Socket; // 程序入口 class GameMain { //进度UI Progress: Progress; Socket: Socket; arr = [ { url: "images/1.jpg", type: Laya.Loader.IMAGE } , { url: "images/2.jpg", type: Laya.Loader.IMAGE } , { url: "images/3.jpg", type: Laya.Loader.IMAGE } , { url: ...

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