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

大约有 1,580 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0059 秒)

71. mac laya 2.5beta ts示例工程 tsconfig.json tartget 改成es5 编译报错 [ 77%]

...projects/mylaya11/Tank/.laya/compile.js [09:09:54] Starting 'compile'... { Error: /Users/xxxxx/projects/mylaya11/Tank/src/script/Bullet.ts(4,29): semantic error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found. at error (/Applications/LayaAirIDE_beta.app/Contents/Re...

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

72. 用谷歌获取经纬度报错? [ 76%]

...etCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) ...

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

73. Laya2.6 vscode 编译错误 [ 76%]

... gulpInst.start.apply(gulpInst, toRun);                    ^ TypeError: Cannot read property 'apply' of undefined     at C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\_gulp@3.9.1@gulp\bin\gulp.js:129:20     at process._tickCallback (internal/process/...

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

74. 打包出现问题 [ 76%]

...rn binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: ENOENT: no such file or directory, open '/Developer/xcode/projects/game_dev/180106JumpAJump/code.git/JumpLaya/release/layaweb/0.9/js/core/UIInterface.js' at Object.fs.openSync (fs.js:558:18) at Object.module.(anonymous...

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

75. 用Geolocation获取地理位置信息(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 76%]

...etCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) ...

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

76. 用Geolocation获取地理位置信息(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 76%]

...etCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) ...

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

77. 2.3.0beta版本,代码有错误还能编译成功 [ 76%]

... Laya中的宏编译要怎么用啊 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 分享:打地鼠 AS、JS、TS版本 Demo! ide 2.4 layaair2-cmd 编译报错 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出...

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

78. 微信小游戏示例打包之后出现问题 [ 76%]

微信小游戏示例打包之后出现问题 (unknown) ReferenceError: ui is not defined at code.js:1 at require (WAGame.js:11) at WAGame.js:11 at game.js? [sm]:2 at require (WAGame.js:11) at gamePage.html:111 window.onerror WAGame.js:11 Uncaught ReferenceError: ui is not defined at code.js:1 at r...

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

79. 打包XCode项目包贴上二次开发demo代码时提示错误:Use of undeclared identifier 'conchRuntime' [ 76%]

...dingViewController.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) 2019-05-08 0 0 分享 微博 QZONE 微信 Laya新用户 赞同来自: 有人解答么 2020-03-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...

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

80. 用Geolocation获取地理位置信息(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 76%]

...etCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) ...

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