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

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

1. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 100%]

...                    /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */     "module": "commonjs",                     /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ES...

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

2. (layabox2.0) layaUI.max.all.ts里的module ui前为什么要加export [ 94%]

...ayaair2-cmd.js LayaMaxUI的导出能不能采用ES6 module的方式 export default 这种方式太痛苦了 2.2.0版本用命令行发布包报出异常 Error: Cannot find module 'gulp' 问题状态 最新活动: 2019-02-28 16:45 浏览: 3263 关注: 5 人 151*****601 • 2018-10-02 21:29 能不能...

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

3. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 82%]

...dio.app/Contents/tools/hvigor/bin/hvigorw.js --mode module -p module=entry@default -p product=default -p requiredDeviceType=default assembleHap --analyze=normal --parallel --incremental --daemon > hvigor UP-TO-DATE :entry:default@PreBuild... > hvigor UP-TO-DATE :libSysCapabilities:default@PreB...

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

4. 如何使用vscode编译laya项目 [ 66%]

...compilerOptions:{removeComments: true}}, include:/.*.ts/, }), glsl({ // By default, everything gets included include: /.*(.glsl|.vs|.fs)$/, sourceMap: false, compress:false }), /*terser({ output: { }, numWorkers:1,//Amount of workers to spawn. Defaults to the number of CPUs minus 1 sourcemap: false ...

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

5. socket大型项目回调 [ 54%]

...is.encodeUInt32(value.length),buffer); buffer.writeUTFBytes(value); break; default: var proto:any = protos.__messages[type] || this._clients["message " + type]; if (!!proto) { var buf:Laya.Byte = this.encodeProtos(proto, value); // buffer.writeArrayBuffer(this.encodeUInt32(buf.length)); Pomelo.write...

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

6. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 45%]

...: [INFO:library_loader_hooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0 I/BrowserProcessMain: Initializing chromium process, renderers=0 W/chromium: [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation D/libEGL: loaded /system/lib/eg...

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

7. 构建apk后,java报错 [ 20%]

...manager: getTransport: Cannot find entry vendor.qti.hardware.iop@1.0::IIop/default in either framework or device manifest. 2018-11-26 18:35:10.494 1505-2448/? E/ANDR-PERF-JNI: Iop tryGetService failed 2018-11-26 18:35:10.497 1505-2448/? W/WindowManager: Attempted to set focus to non-existing app tok...

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