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

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

2481. as3 版的怎么把js 的文件编译到as3中用,也就是说我的接口都是js写的,怎么样才能让他编译到LayaAir3D.max.js 文件里并且如何使用 [ 62%]

... Laya中的宏编译要怎么用啊 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target ide 2.4 layaair2-cmd 编译报错 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 微信小程序—...

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

2482. 微信开发者工具问题 [ 62%]

...g!,this class[MiniAdpter] already exist: {init: ƒ} VM698:1 gameThirdScriptError Unexpected token in JSON at position 134;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 134     at JSON.parse (<anonymous>)     at Function.MiniAdpter.getJson (http...

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

2483. Uncaught TypeError: Cannot read property 'props' of undefined [ 62%]

Uncaught TypeError: Cannot read property 'props' of undefined 按照官方提供的代码,导入从unity导出的场景,出现此错误,代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.s...

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

2484. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 62%]

...Close); socket.on(Event.MESSAGE, this, onMessageReveived); socket.on(Event.ERROR, this, onConnectError); socket.connectByUrl(url); } public function Add(handler:IHandler):void { if(list.indexOf(handler) < 0){ list.push(handler); } } public function Remove(handler:IHandler):void { var index:int=li...

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

2485. 华为快游戏接入与发布调试指南(TypeScript-小游戏适配文档-华为快游戏) [ 62%]

...括console的log日志,以及报错日志。如果改为只是设置为error,则只显示报错日志,不会显示console日志。无论是error还是log都会在发布后,输出对应日志等级的相关输出信息,如果为off,则会不输出任何信息。 ![img](img/5.png) 关于...

来源: Laya2.0_文档 发布时间: 20210714

2486. laya.ui.UIEvent [ 62%]

...tring = enter[static] 定义 enter 事件对象的 type 属性值。Event ERROR : String = error[static] 定义 error 事件对象的 type 属性值。Event FOCUS : String = focus[static] 定义 focus 事件对象的 type 属性值。Event FOCUS_CHANGE : String = focuschange[static] 定义 focusc...

来源: Laya2.0_api 发布时间: 20190513

2487. 动态加载代码后,总是出现 ProgressBar is not a constructor [ 62%]

...ressBar的脚本。 总是在这里出现错误,如下:   ncaught TypeError: ProgressBar is not a constructor at onLoadComplete (game.js:81) at Handler.__proto.runWith (laya.core.js:686) at ResInfo.loadComplete (laya.core.js:12634) at EventHandler.__proto.runWith (laya.core.js:687) at ResInfo._...

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

2488. 打包发布vivo,调试黑屏 [ 62%]

... 发起人 156*****953 相关问题 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 如何通过命令行工具构建和发布项目 图集打包找不到图集文件 用了第三...

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

2489. LayaAir下如何成功调试matter.js物理引擎Demo? [ 62%]

...的,设置自变量是在哪里设置啊?我报的错误:"ReferenceError: laya is not defined    at file:///F:/............../Physics/bin/h5/matter-RenderLaya.js:1:15" 2018-04-15 0 0 分享 微博 QZONE 微信 131*****809 赞同来自: 妈耶怎么都卡在这儿了,四天没弄明白   2...

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

2490. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 61%]

...成相对路劲,就报其他的路径找不到。 出错了: TypeScript error: node_modules/@types/node/index.d.ts(50,22): Error TS6053: File 'node_modules/@types/node/base.d.ts' not found.   现在把protobufjs放到Laya IDE的安装目录下的node_modules下面。可以编译通过了。 但...

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