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

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

381. ReferenceError: Laya3D is not defined? [ 85%]

...定义场景?     ReferenceError: Laya3D is not defined preload.js:55 at new HelloWord3D (file:///E:/LayaWorkSpace/HelloWord3D1/bin/js/bundle.js:26:9)   at Object.1 (file:///E:/LayaWorkSpace/HelloWord3D1/bin/js/bundle.js:44:1)   at o (file:///E:/LayaWorkSpace/HelloWord3D1/bin/js/bundle.js:11:2...

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

382. 【求助大神】在目标scene中添加2d的多边形刚体后,跳转该页面启动时报Uncaught Error at Object.box2d.b2Assert (laya.physics.js:38) [ 85%]

...添加2d的多边形刚体后,跳转该页面启动时报Uncaught Error at Object.box2d.b2Assert (laya.physics.js:38) 加载页面:PuzzleScene2.scene ,该也页面添加的了2D的刚体,页面初始化加载时报错如图。 附件 : --> 2020-10-25 添加评论 免费帖 --> 分享 微博 ...

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

383. 游戏从后台切换到前台的时候总是抛出异常 [ 85%]

...换到前台的时候总是抛出异常 TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. at TypeError (native) at EventEmitter.<anonymous> (D:\DevTool\LayaAirIDE_1.5.4_beta\resources\electron.asar\renderer\override.js:234:14) at emitTwo (events...

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

384. laya 2.0 typescript console.log 为何不能智能识别 ts 文件行号? [ 84%]

...输出的文件行号不能智能识别。   Error: JJ Main.ts:18     at new Main (file:///C:/LAYABOX/test2004/bin/js/bundle.js:24:17)     at Object.1../MyScene (file:///C:/LAYABOX/test2004/bin/js/bundle.js:39:1)     at o (file:///C:/LAYABOX/test2004/bin/js/bundle.js:11:265)     at r (file:...

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

385. 官方文档里的位图字体的制作与使用JS 跑不通 以及 文档的几个问题 [ 84%]

....我的报错  TypeError: Cannot set property 'mFontName' of undefined   at Object.2 (file:///D:/Git/Laya/myLayaJS/bin/js/bundle.js:279:21)   at o (file:///D:/Git/Laya/myLayaJS/bin/js/bundle.js:11:265)   at file:///D:/Git/Laya/myLayaJS/bin/js/bundle.js:11:316   at Object.3../GameConfig (file://...

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

386. Error processing "setBreakpoints"错误 [ 84%]

...rror processing "setBreakpoints": Error: Set breakpoints request timed out at Timeout.setTimeout [as _onTimeout] (e:\layaWorldSpace\LayaAirIDE_beta\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\utils.js:54:24) at ontimeout (timers.js:365:14) at tryOnTimeout (timer...

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

387. laya 3D碰撞器与 Unity 不一致问题 [ 84%]

...e导致的,可以修改laya.d3.js文件里的_innerDerivePhysicsTransformation方法,加粗部分为补丁: if (shapeOffset.x !== 0 || shapeOffset.y !== 0 || shapeOffset.z !== 0) {                 var physicPosition = PhysicsComponent._tempVector30;                 shapeOffset....

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

388. Error: 代码包大小为 6018 kb,上限为 4096 kb,请删除文件后重试 [ 84%]

..." is not defined Error: module "libs/laya.wxmini.js" is not defined     at require (http://127.0.0.1:43425/game/__ ... :13569)     at http://127.0.0.1:43425/game/__ ... 13424     at http://127.0.0.1:43425/game/game.js:6:2     at require (http://127.0.0.1:43425/game/__ ... :13675)     ...

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

389. laya调试问题 [ 84%]

...提示如下,开始还是好的: ReferenceError: laya is not defined at file:///E:/project/svn/trunk/src/Client/GameTs/bin/js/net/ByteFunc.js:4:12 ReferenceError: laya is not defined at file:///E:/project/svn/trunk/src/Client/GameTs/bin/js/common/GameTimer.js:2:15 ReferenceError: laya is not def...

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

390. 运行总报TypeError: Object prototype may only be an Object or null: undefined [ 84%]

...件 TypeError: Object prototype may only be an Object or null: undefined at setPrototypeOf (<anonymous>) at __extends (file:///C:/Users/Administrator/Documents/Game3/bin/js/UIModule.js:6:9) at file:///C:/Users/Administrator/Documents/Game3/bin/js/LoadingModule.js:17:5 at file:///C:/Users/Admin...

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