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

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

11. async真机运行报错 [ 75%]

...与开发商联系...”, 导微信小程序报错window.focus is not a function 微信小游戏编译报错 项目分包后, 运行出错 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? laya2 发布微信开放域工程,用微信开发者工具打开报错 问题状...

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

12. layaair2-cmd安装报错 [ 74%]

...ta\Roaming\npm\node_modules\layaair2-cmd\node_modules\gulp-babel'     at Function.Module._load (internal/modules/cjs/loader.js:562:25)     at Module.require (internal/modules/cjs/loader.js:690:17)     at require (internal/modules/cjs/helpers.js:25:18)     at Object.<anonymous> (E:\cyh5...

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

13. laya.d3.graphics.VertexPositionNormalColor [ 74%]

...ailcolorpropertycolor:Vector4  [read-only] Implementation     public function get color():Vector4normalproperty normal:Vector3  [read-only] Implementation     public function get normal():Vector3positionproperty position:Vector3  [read-only] Implementation     public function get...

来源: laya_api 发布时间: 20170929

14. [LayaAir3][LayaAirIDE3]发布后的bundle.js,偶尔会发布出运行错误的bundle.js [ 70%]

...微信小程序时,用微信工具跑,报“TypeError: eval is not a function”, 我看了发布出来的bundle.js,确实有很多eval函数;然后我在微信工具勾了“把JS编译为ES5”后,这时候微信工具上能跑了。 诡异的是:我再把“JS编译为ES5”的勾...

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

15. 今天打开微信工具出现错误Cannot read property 'USER_DATA_PATH' of undefined [ 69%]

...ned TypeError: Cannot read property 'USER_DATA_PATH' of undefined     at Function.MiniFileMgr.setNativeFileDir (http://127.0.0.1:37684/game/code.js:21639:46)     at Function.MiniAdpter.init (http://127.0.0.1:37684/game/code.js:21174:16)     at Object.init (http://127.0.0.1:37684/game/code.js:1...

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

16. 使用layaide进行打包,提示如下错误。 [ 69%]

...行打包,提示如下错误。 Block-scoped declarations (let, const, function, class) not yet supported outside strict mode   网上搜索答案,有的说是因为在tsconfig中,将target调整成了es6就不可以运行了,但是我的代码使用了一些es6的特性,请问应该如...

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

17. 深入理解LayaAir引擎架构和实现原理(一)跨平台引擎源码编译 [ 68%]

...入口函数start()[code] start() { return __awaiter(this, void 0, void 0, function* () { let json = JSON.parse(fs.readFileSync("outConfig.json")); this.BaseURL = emiter_1.emiter.BaseURL = json.from; this.outfile = json.out; this.createAS = json.createAS; this.layajsURL = json.layajsURL; this.tsCong...

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

18. laya.d3.utils.Picker [ 67%]

...并返回碰撞距离。 PickerConstructor DetailPicker()Constructorpublic function Picker() 创建一个 Picker 实例。 Method DetailcalculateCursorRay()method public static function calculateCursorRay(point:Vector2, viewPort:Viewport, projectionMatrix:Matrix4x4, viewMatrix:Matrix4x4, world:Matri...

来源: laya_api 发布时间: 20170929

19. HttpRequest感觉没有发成功 [ 67%]

...S,this,processHandler); xhr.send("https://www.baidu.com","","get","text"); function processHandler(data){ console.log(data); console.log("processHandler"); } function errorHandler(data){ console.log("errorHandler"); } function completeHandler(e){ console.log("completeHandler"); } 2018-08-27 添加...

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

20. WorkerLoader在3D项目下不能用? [ 63%]

...了drawToCanvas方法的么?一调用就会提示gl.readPixels is not a function。如果不能用的话,有没有其它替代方案? 用ts写代码 能用npm包吗 还有es6语法 问题状态 最新活动: 2017-11-07 19:29 浏览: 989 关注: 2 人 chenzp2031453 • 2017-11-07 20:17 只是...

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